mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
libtest: remove unnecessary as_mut_slice()
calls
This commit is contained in:
parent
6132a90788
commit
976660f3f7
@ -706,7 +706,7 @@ impl<T: Writer> ConsoleTestState<T> {
|
||||
}
|
||||
|
||||
try!(self.write_plain("\nfailures:\n"));
|
||||
failures.as_mut_slice().sort();
|
||||
failures.sort();
|
||||
for name in failures.iter() {
|
||||
try!(self.write_plain(format!(" {}\n",
|
||||
name.as_slice()).as_slice()));
|
||||
|
Loading…
Reference in New Issue
Block a user