Skip to main content

explain_choice

Function explain_choice 

Source
pub fn explain_choice(
    records: &[AdapterRecord],
    chosen: usize,
    next: Option<usize>,
    reason: ChoiceReason,
    policy: &AdapterPolicy,
) -> String
Expand description

One sentence explaining why chosen was taken, naming the runner-up next where relevant.