fn warnings_include(warnings: &Vec<String>, substring: &str) -> bool {
        for warning in warnings {
            if warning.contains(substring) {
                return true;
            }
        }
        return false;
    }
/// Tells whether any of the stored warnings include a substring.
Tells whether any of the stored warnings include a substring.
Tells whether any of the stored warnings include a substring .
fn warnings_include(warnings: &Vec<String>, substring: &str) -> bool {
        for warning in warnings {
            if warning.contains(substring) {
                return true;
            }
        }
        return false;
    }
fn warnings_include ( warnings : & Vec < String > , substring : & str ) -> bool { for warning in warnings { if warning . contains ( substring ) { return true ; } } return false ; }
Tells whether any of the stored warnings include a substring.
Tells whether any of the stored warnings include a substring .
warnings
&Vec<String>
substring
&str
warnings
&Vec<String>
substring
&str