File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ fn main() {
44
55#[ cfg( test) ]
66mod tests {
7- // TODO: Fix the compiler errors only by reordering the lines in the test.
8- // Don't add, change or remove any line.
97 #[ test]
108 fn move_semantics4 ( ) {
119 let mut x = Vec :: new ( ) ;
Original file line number Diff line number Diff line change @@ -63,12 +63,10 @@ mod tests {
6363 println ! ( "reference count = {}" , Rc :: strong_count( & sun) ) ; // 7 references
6464 saturn. details ( ) ;
6565
66- // TODO
6766 let uranus = Planet :: Uranus ( Rc :: clone ( & sun) ) ;
6867 println ! ( "reference count = {}" , Rc :: strong_count( & sun) ) ; // 8 references
6968 uranus. details ( ) ;
7069
71- // TODO
7270 let neptune = Planet :: Neptune ( Rc :: clone ( & sun) ) ;
7371 println ! ( "reference count = {}" , Rc :: strong_count( & sun) ) ; // 9 references
7472 neptune. details ( ) ;
You can’t perform that action at this time.
0 commit comments