File tree 2 files changed +0
-4
lines changed
2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ fn main() {
4
4
5
5
#[ cfg( test) ]
6
6
mod tests {
7
- // TODO: Fix the compiler errors only by reordering the lines in the test.
8
- // Don't add, change or remove any line.
9
7
#[ test]
10
8
fn move_semantics4 ( ) {
11
9
let mut x = Vec :: new ( ) ;
Original file line number Diff line number Diff line change @@ -63,12 +63,10 @@ mod tests {
63
63
println ! ( "reference count = {}" , Rc :: strong_count( & sun) ) ; // 7 references
64
64
saturn. details ( ) ;
65
65
66
- // TODO
67
66
let uranus = Planet :: Uranus ( Rc :: clone ( & sun) ) ;
68
67
println ! ( "reference count = {}" , Rc :: strong_count( & sun) ) ; // 8 references
69
68
uranus. details ( ) ;
70
69
71
- // TODO
72
70
let neptune = Planet :: Neptune ( Rc :: clone ( & sun) ) ;
73
71
println ! ( "reference count = {}" , Rc :: strong_count( & sun) ) ; // 9 references
74
72
neptune. details ( ) ;
You can’t perform that action at this time.
0 commit comments