diff options
| author | est31 <MTest31@outlook.com> | 2017-05-02 05:55:20 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2017-05-02 05:55:20 +0200 |
| commit | d290849a233bb2b06b01167c242b3886d2cf8681 (patch) | |
| tree | 0153668c60127400b8e7fc39ad0f1077fd05e616 /src/librustc_data_structures | |
| parent | 4cb396c68088f38e517ac8890030d17a969e57ba (diff) | |
| download | rust-d290849a233bb2b06b01167c242b3886d2cf8681.tar.gz rust-d290849a233bb2b06b01167c242b3886d2cf8681.zip | |
Removal pass for anonymous parameters
Removes occurences of anonymous parameters from the rustc codebase, as they are to be deprecated. See issue #41686 and RFC 1685.
Diffstat (limited to 'src/librustc_data_structures')
| -rw-r--r-- | src/librustc_data_structures/indexed_vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/indexed_vec.rs b/src/librustc_data_structures/indexed_vec.rs index 62c430dda32..0642ddc7162 100644 --- a/src/librustc_data_structures/indexed_vec.rs +++ b/src/librustc_data_structures/indexed_vec.rs @@ -24,7 +24,7 @@ use rustc_serialize as serialize; /// /// (purpose: avoid mixing indexes for different bitvector domains.) pub trait Idx: Copy + 'static + Eq + Debug { - fn new(usize) -> Self; + fn new(idx: usize) -> Self; fn index(self) -> usize; } |
