Skip to content

Commit a0a354f

Browse files
author
Jorge Aparicio
committed
librustc_trans: remove unnecessary as_mut_slice calls
1 parent d64fd22 commit a0a354f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ pub fn collect_crate_types(session: &Session,
682682
if base.len() == 0 {
683683
base.push(link::default_output_for_target(session));
684684
}
685-
base.as_mut_slice().sort();
685+
base.sort();
686686
base.dedup();
687687
}
688688

0 commit comments

Comments
 (0)