Skip to main content

mark_unexpected

Function mark_unexpected 

Source
pub fn mark_unexpected<T>(value: &T, format: &DiffFormat) -> String
where T: Debug + ?Sized,
Expand description

Highlights the given value as “unexpected value” using the color for unexpected values or bold as specified by the given DiffFormat.