diff options
| author | Alfie John <alfiej@fastmail.fm> | 2015-01-28 01:01:48 +0000 |
|---|---|---|
| committer | Alfie John <alfiej@fastmail.fm> | 2015-02-02 04:05:54 +0000 |
| commit | 9683745fed09daf7f8acc55d679b41d3bc660ec4 (patch) | |
| tree | bc9acf07ae2a542c087b365ffe60ae423778ab58 /src/libsyntax/test.rs | |
| parent | ca4b9674c26c1de07a2042cb68e6a062d7184cef (diff) | |
| download | rust-9683745fed09daf7f8acc55d679b41d3bc660ec4.tar.gz rust-9683745fed09daf7f8acc55d679b41d3bc660ec4.zip | |
Omit integer suffix when unnecessary
See PR # 21378 for context
Diffstat (limited to 'src/libsyntax/test.rs')
| -rw-r--r-- | src/libsyntax/test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/test.rs b/src/libsyntax/test.rs index a7679adca2e..61ce664d2c7 100644 --- a/src/libsyntax/test.rs +++ b/src/libsyntax/test.rs @@ -356,8 +356,8 @@ fn is_bench_fn(cx: &TestCtxt, i: &ast::Item) -> bool { let tparm_cnt = generics.ty_params.len(); // NB: inadequate check, but we're running // well before resolve, can't get too deep. - input_cnt == 1us - && no_output && tparm_cnt == 0us + input_cnt == 1 + && no_output && tparm_cnt == 0 } _ => false } |
