Skip to content

Commit 976660f

Browse files
author
Jorge Aparicio
committed
libtest: remove unnecessary as_mut_slice() calls
1 parent 6132a90 commit 976660f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtest/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ impl<T: Writer> ConsoleTestState<T> {
706706
}
707707

708708
try!(self.write_plain("\nfailures:\n"));
709-
failures.as_mut_slice().sort();
709+
failures.sort();
710710
for name in failures.iter() {
711711
try!(self.write_plain(format!(" {}\n",
712712
name.as_slice()).as_slice()));

0 commit comments

Comments
 (0)