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.
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.