diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-24 03:17:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-24 03:17:03 +0100 |
| commit | d22bf91320cf3ba08326ca644e39de35592ce394 (patch) | |
| tree | 7d1fb15021ff6320393277ab0aeb5ce5ac5a566c /src/libcore | |
| parent | 980ccaa7339a367b4054ef8064d5b1a8004c6ccf (diff) | |
| parent | 59257e6e88cc09697642cce889445d0fd6572ec1 (diff) | |
| download | rust-d22bf91320cf3ba08326ca644e39de35592ce394.tar.gz rust-d22bf91320cf3ba08326ca644e39de35592ce394.zip | |
Rollup merge of #66659 - Centril:fix-bench, r=Mark-Simulacrum
make `./x.py bench` again Fixes #54016
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/benches/num/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/benches/num/mod.rs b/src/libcore/benches/num/mod.rs index f5c49ea5bf0..2dcdf2b6fe9 100644 --- a/src/libcore/benches/num/mod.rs +++ b/src/libcore/benches/num/mod.rs @@ -35,7 +35,7 @@ macro_rules! from_str_bench { .iter() .cycle() .take(5_000) - .filter_map(|s| <($t)>::from_str(s).ok()) + .filter_map(|s| <$t>::from_str(s).ok()) .max() }) } @@ -51,7 +51,7 @@ macro_rules! from_str_radix_bench { .iter() .cycle() .take(5_000) - .filter_map(|s| <($t)>::from_str_radix(s, $radix).ok()) + .filter_map(|s| <$t>::from_str_radix(s, $radix).ok()) .max() }) } |
