Skip to content

Commit 4e31282

Browse files
committed
Fix test
1 parent 11af6f6 commit 4e31282

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libsyntax/util/lev_distance.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ pub fn lev_distance(a: &str, b: &str) -> usize {
3838
current = next;
3939
t_last = j;
4040
}
41-
} dcol[t_last + 1]
41+
}
42+
dcol[t_last + 1]
4243
}
4344

4445
/// Find the best match for a given word in the given iterator

src/test/run-pass-fulldeps/ast_stmt_expr_attr.rs

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ use syntax::parse::new_parser_from_source_str;
2525
use syntax::parse::parser::Parser;
2626
use syntax::parse::token;
2727
use syntax::ptr::P;
28-
use syntax::str::char_at;
2928
use syntax::parse::attr::*;
3029
use syntax::print::pprust;
3130
use std::fmt;

0 commit comments

Comments
 (0)