diff options
| author | Mo Bitar <76752051+mo8it@users.noreply.github.com> | 2025-04-03 19:36:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-03 19:36:06 +0200 |
| commit | 8b4562e102781a25a2224192d53766c5db596441 (patch) | |
| tree | 73f3c39211ce7419df10e53a1a5a474fb9dba864 /solutions/19_smart_pointers | |
| parent | 63d8986f2a6bc97496065d3bac495a77016fd42f (diff) | |
| parent | d2abc359cc10c42a94aa680294eeaca2d7c502b2 (diff) | |
Merge pull request #2219 from ubitux/no-todo
Remove TODO from 2 solutions
Diffstat (limited to 'solutions/19_smart_pointers')
| -rw-r--r-- | solutions/19_smart_pointers/rc1.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/solutions/19_smart_pointers/rc1.rs b/solutions/19_smart_pointers/rc1.rs index c0a41ab..edf40eb 100644 --- a/solutions/19_smart_pointers/rc1.rs +++ b/solutions/19_smart_pointers/rc1.rs @@ -63,12 +63,10 @@ mod tests { println!("reference count = {}", Rc::strong_count(&sun)); // 7 references saturn.details(); - // TODO let uranus = Planet::Uranus(Rc::clone(&sun)); println!("reference count = {}", Rc::strong_count(&sun)); // 8 references uranus.details(); - // TODO let neptune = Planet::Neptune(Rc::clone(&sun)); println!("reference count = {}", Rc::strong_count(&sun)); // 9 references neptune.details(); |
