Skip to content

Commit 62c1560

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 162244 b: refs/heads/auto c: 0ac3b16 h: refs/heads/master v: v3
1 parent 233124e commit 62c1560

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: f2af07e6d5254ca7b2bb5791afe5314fe6947128
13+
refs/heads/auto: 0ac3b166df97f34c43214d3c64da0cff66cbac7c
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/liballoc/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ mod tests {
521521
#[test]
522522
fn show_arc() {
523523
let a = Arc::new(5u32);
524-
assert!(format!("{}", a).as_slice() == "5")
524+
assert!(format!("{}", a) == "5")
525525
}
526526

527527
// Make sure deriving works with Arc<T>

branches/auto/src/liballoc/boxed.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,14 @@ mod test {
169169
let b = box Test as Box<Any>;
170170
let a_str = a.to_str();
171171
let b_str = b.to_str();
172-
assert_eq!(a_str.as_slice(), "Box<Any>");
173-
assert_eq!(b_str.as_slice(), "Box<Any>");
172+
assert_eq!(a_str, "Box<Any>");
173+
assert_eq!(b_str, "Box<Any>");
174174

175175
let a = &8u as &Any;
176176
let b = &Test as &Any;
177177
let s = format!("{}", a);
178-
assert_eq!(s.as_slice(), "&Any");
178+
assert_eq!(s, "&Any");
179179
let s = format!("{}", b);
180-
assert_eq!(s.as_slice(), "&Any");
180+
assert_eq!(s, "&Any");
181181
}
182182
}

0 commit comments

Comments
 (0)