We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
as_mut_slice
1 parent 5a24058 commit d64fd22Copy full SHA for d64fd22
src/librustc/metadata/cstore.rs
@@ -172,7 +172,7 @@ impl CStore {
172
for (&num, _) in self.metas.borrow().iter() {
173
visit(self, num, &mut ordering);
174
}
175
- ordering.as_mut_slice().reverse();
+ ordering.reverse();
176
let mut libs = self.used_crate_sources.borrow()
177
.iter()
178
.map(|src| (src.cnum, match prefer {
src/librustc/session/config.rs
@@ -764,7 +764,7 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
764
765
766
};
767
- output_types.as_mut_slice().sort();
+ output_types.sort();
768
output_types.dedup();
769
if output_types.len() == 0 {
770
output_types.push(OutputTypeExe);
0 commit comments