mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
libtest: remove unnecessary as_mut_slice() calls
This commit is contained in:
+1
-1
@@ -706,7 +706,7 @@ pub fn write_failures(&mut self) -> io::IoResult<()> {
|
||||
}
|
||||
|
||||
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()));
|
||||
|
||||
Reference in New Issue
Block a user