rust-lang/rust — pull request #17738 by hoeppnertill (2014-10-03 13:03:08+00:00)
Title: Fix lev_distance in libcollections/str.rs

There is an issue with lev_distance, where
```
fn main() {
println!("{}", "\x80".lev_distance("\x80"))
}
```
prints `2`.

This is due to using the byte length instead of the char length.