]> git.lizzy.rs Git - rust.git/blobdiff - library/core/tests/ascii.rs
Rollup merge of #101002 - estebank:hashmap-idx, r=davidtwco
[rust.git] / library / core / tests / ascii.rs
index 66c25e449df2b9f7035404899ede8c331f53ed13..6d2cf3e83bce9683bbf9fea9dbd510072cb79c6c 100644 (file)
@@ -115,7 +115,7 @@ fn test_eq_ignore_ascii_case() {
 #[test]
 fn inference_works() {
     let x = "a".to_string();
-    x.eq_ignore_ascii_case("A");
+    let _ = x.eq_ignore_ascii_case("A");
 }
 
 // Shorthands used by the is_ascii_* tests.