fn merge_preference_order(&self) -> usize {
        match self {
            CommandParseFailure::ArgumentParseFailed { .. } => 2,
            CommandParseFailure::ExpectedArg { .. } => 1,
            CommandParseFailure::UnexpectedArgument { .. } => 0,
        }
    }
/// Returns a relative order of the `CommandParseFailure` cases, when
/// sorting on "potential usefulness".  When two failures show parsing
/// failed at the same character, and we need to select only one failure to
/// show to the user, we select one with the highest
/// `merge_preference_order()`.  See [`CommandParseRes::merge()`].
Returns a relative order of the `CommandParseFailure` cases, when
sorting on "potential usefulness".  When two failures show parsing
failed at the same character, and we need to select only one failure to
show to the user, we select one with the highest
`merge_preference_order()`.
Returns a relative order of the ` CommandParseFailure ` cases when sorting on " potential usefulness " . When two failures show parsing failed at the same character and we need to select only one failure to show to the user we select one with the highest ` merge_preference_order () ` .
fn merge_preference_order(&self) -> usize {
        match self {
            CommandParseFailure::ArgumentParseFailed { .. } => 2,
            CommandParseFailure::ExpectedArg { .. } => 1,
            CommandParseFailure::UnexpectedArgument { .. } => 0,
        }
    }
fn merge_preference_order ( & self ) -> usize { match self { CommandParseFailure :: ArgumentParseFailed { .. } => 2 , CommandParseFailure :: ExpectedArg { .. } => 1 , CommandParseFailure :: UnexpectedArgument { .. } => 0 , } }
Returns a relative order of the `CommandParseFailure` cases, when
sorting on "potential usefulness".
Returns a relative order of the ` CommandParseFailure ` cases when sorting on " potential usefulness " .
&self