Skip to content

Conversation

tbergerd
Copy link
Contributor

Extracted from #278 as requested.
The "term.features().is_attended()" check can never be reached because "term.is_term()" is checked at the beginning of the method (iiuc the checks are strictly equivalent).

Additionnally, the 'unwrap' call in the dead code forced a 'Debug' trait bound on the ::Err associated type.

Therefore i removed both the dead code and the now unnecessary trait bound.

@pksunkara pksunkara merged commit 7aa4afa into console-rs:master Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants