Fix test
This commit is contained in:
parent
11af6f66cb
commit
4e3128223b
@ -38,7 +38,8 @@ pub fn lev_distance(a: &str, b: &str) -> usize {
|
||||
current = next;
|
||||
t_last = j;
|
||||
}
|
||||
} dcol[t_last + 1]
|
||||
}
|
||||
dcol[t_last + 1]
|
||||
}
|
||||
|
||||
/// Find the best match for a given word in the given iterator
|
||||
|
@ -25,7 +25,6 @@
|
||||
use syntax::parse::parser::Parser;
|
||||
use syntax::parse::token;
|
||||
use syntax::ptr::P;
|
||||
use syntax::str::char_at;
|
||||
use syntax::parse::attr::*;
|
||||
use syntax::print::pprust;
|
||||
use std::fmt;
|
||||
|
Loading…
Reference in New Issue
Block a user