These are chat archives for rust-lang/rust

21st
May 2017
Fra ns
@snarf95_twitter
May 21 2017 19:35
I'm having trouble with filter on a string... https://is.gd/YDXWV2
Denis Lisov
@tanriol
May 21 2017 19:40
.filter(|&(ref c, _)| c == &sorted_word)
Fra ns
@snarf95_twitter
May 21 2017 19:46
thanks :) it works, now I just need to compare strings case-insensitive? is there any way to do that in rust?
found eq_ignore_ascii_case
Denis Lisov
@tanriol
May 21 2017 19:50
Sorry, your test is not ASCII ;-)
Fra ns
@snarf95_twitter
May 21 2017 19:52
hmm