File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
branches/auto/src/liballoc Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
10
10
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
11
11
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
12
12
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13
- refs/heads/auto: f2af07e6d5254ca7b2bb5791afe5314fe6947128
13
+ refs/heads/auto: 0ac3b166df97f34c43214d3c64da0cff66cbac7c
14
14
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
15
15
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
16
16
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
Original file line number Diff line number Diff line change @@ -521,7 +521,7 @@ mod tests {
521
521
#[ test]
522
522
fn show_arc ( ) {
523
523
let a = Arc :: new ( 5u32 ) ;
524
- assert ! ( format!( "{}" , a) . as_slice ( ) == "5" )
524
+ assert ! ( format!( "{}" , a) == "5" )
525
525
}
526
526
527
527
// Make sure deriving works with Arc<T>
Original file line number Diff line number Diff line change @@ -169,14 +169,14 @@ mod test {
169
169
let b = box Test as Box < Any > ;
170
170
let a_str = a. to_str ( ) ;
171
171
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>" ) ;
174
174
175
175
let a = & 8 u as & Any ;
176
176
let b = & Test as & Any ;
177
177
let s = format ! ( "{}" , a) ;
178
- assert_eq ! ( s. as_slice ( ) , "&Any" ) ;
178
+ assert_eq ! ( s, "&Any" ) ;
179
179
let s = format ! ( "{}" , b) ;
180
- assert_eq ! ( s. as_slice ( ) , "&Any" ) ;
180
+ assert_eq ! ( s, "&Any" ) ;
181
181
}
182
182
}
You can’t perform that action at this time.
0 commit comments