Skip to main content

eq_ignore_underscore

Function eq_ignore_underscore 

Source
fn eq_ignore_underscore(s1: &str, s2: &str) -> bool
Expand description

Similar to str::eq_ignore_ascii_case but instead of ignoring case, we say that - and _ are equal.