File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
branches/snap-stage3/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 1
1
---
2
2
refs/heads/master: 4eb72d268f337a8f117c86a2ac1b98336cab9e9d
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: f2af07e6d5254ca7b2bb5791afe5314fe6947128
4
+ refs/heads/snap-stage3: 0ac3b166df97f34c43214d3c64da0cff66cbac7c
5
5
refs/heads/try: 0f0d21c1eb5c7be04d323e0b06faf252ad790af6
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
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