Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRustgeneric bounds and whereSingle-choice MCQ

For a function that returns the longer of two slices, which signature with generic bounds correctly expresses 'T must be ordered by length-comparable trait Measure, and the result borrows from the inputs'?

trait Measure { fn size(&self) -> usize; }