about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-03-26 08:07:42 -0700
committerbors <bors@rust-lang.org>2016-03-26 08:07:42 -0700
commit8f34053f762f708430971a36fc4c6e665528ebe2 (patch)
tree8d8a88c8131f641134cfb087f40c564792b50433 /src/libstd
parent346d0d5175e7b236a7e3f41fd992afc61f148442 (diff)
parent90f2b69cddc92c8b3ff3a51f261d441a58b706bd (diff)
downloadrust-8f34053f762f708430971a36fc4c6e665528ebe2.tar.gz
rust-8f34053f762f708430971a36fc4c6e665528ebe2.zip
Auto merge of #32508 - Manishearth:rollup, r=Manishearth
Rollup of 6 pull requests

- Successful merges: #32383, #32387, #32440, #32470, #32478, #32492
- Failed merges:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/ascii.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstd/ascii.rs b/src/libstd/ascii.rs
index a8a3353da4c..3ae3cf8504e 100644
--- a/src/libstd/ascii.rs
+++ b/src/libstd/ascii.rs
@@ -567,4 +567,10 @@ mod tests {
                     &from_u32(lower).unwrap().to_string()));
         }
     }
+
+    #[test]
+    fn inference_works() {
+        let x = "a".to_string();
+        x.eq_ignore_ascii_case("A");
+    }
 }