pub fn is_common_password<S: AsRef<str>>(password: S) -> bool {
    let target = format!("\"{}\"", password.as_ref());

    COMMON_PASSWORDS.contains(&target.as_str())
}
/// Whether the input password is common or not. A common password means it is dangerous.
Whether the input password is common or not. A common password means it is dangerous.
Whether the input password is common or not . A common password means it is dangerous .
pub fn is_common_password<S: AsRef<str>>(password: S) -> bool {
    let target = format!("\"{}\"", password.as_ref());
    COMMON_PASSWORDS.contains(&target.as_str())
}
pub fn is_common_password < S : AsRef < str > > ( password : S ) -> bool { let target = format ! ( " \" \" " password as_ref ( ) ) ; COMMON_PASSWORDS . contains ( & target . as_str ( ) ) }
Whether the input password is common or not.
Whether the input password is common or not .
password
S