diff options
| author | bors <bors@rust-lang.org> | 2016-03-26 08:07:42 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-03-26 08:07:42 -0700 |
| commit | 8f34053f762f708430971a36fc4c6e665528ebe2 (patch) | |
| tree | 8d8a88c8131f641134cfb087f40c564792b50433 /src/libstd | |
| parent | 346d0d5175e7b236a7e3f41fd992afc61f148442 (diff) | |
| parent | 90f2b69cddc92c8b3ff3a51f261d441a58b706bd (diff) | |
| download | rust-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.rs | 6 |
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"); + } } |
