Skip to main content

optional_str_eq

Function optional_str_eq 

Source
pub fn optional_str_eq(a: Option<&str>, b: Option<&str>) -> bool
Expand description

Whether an optional secret matches: both absent, or both present and equal under str_eq.