pub fn match_method(expected: String, actual: String, mismatches: &mut Vec<Mismatch>) {
    if expected.to_lowercase() != actual.to_lowercase() {
        mismatches.push(Mismatch::MethodMismatch { expected: expected, actual: actual });
    }
}
/// Matches the actual request method to the expected one.
Matches the actual request method to the expected one.
Matches the actual request method to the expected one .
pub fn match_method(expected: String, actual: String, mismatches: &mut Vec<Mismatch>) {
    if expected.to_lowercase() != actual.to_lowercase() {
        mismatches.push(Mismatch::MethodMismatch { expected: expected, actual: actual });
    }
}
pub fn match_method ( expected : String , actual : String , mismatches : & mut Vec < Mismatch > ) { if expected . to_lowercase ( ) != actual . to_lowercase ( ) { mismatches . push ( Mismatch :: MethodMismatch { expected : expected , actual : actual } ) ; } }
Matches the actual request method to the expected one.
Matches the actual request method to the expected one .
expected
String
actual
String
mismatches
&mut Vec<Mismatch>
expected
String
actual
String
mismatches
&mut Vec<Mismatch>