This commit is contained in:
Shotaro Yamada 2018-10-29 22:39:34 +09:00
parent 11af6f66cb
commit 4e3128223b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;