]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #17738 : hoeppnertill/rust/master, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 4 Oct 2014 19:32:07 +0000 (19:32 +0000)
committerbors <bors@rust-lang.org>
Sat, 4 Oct 2014 19:32:07 +0000 (19:32 +0000)
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.


Trivial merge