Fix test
This commit is contained in:
parent
11af6f66cb
commit
4e3128223b
2 changed files with 2 additions and 2 deletions
|
@ -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::new_parser_from_source_str;
|
|||
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…
Add table
Add a link
Reference in a new issue