liballoc: remove unnecessary as_slice() calls

This commit is contained in:
Jorge Aparicio
2014-11-27 13:03:07 -05:00
parent f2af07e6d5
commit 0ac3b166df
2 changed files with 5 additions and 5 deletions

View File

@@ -521,7 +521,7 @@ mod tests {
#[test]
fn show_arc() {
let a = Arc::new(5u32);
assert!(format!("{}", a).as_slice() == "5")
assert!(format!("{}", a) == "5")
}
// Make sure deriving works with Arc<T>