summaryrefslogtreecommitdiff
path: root/solutions/19_smart_pointers
diff options
context:
space:
mode:
Diffstat (limited to 'solutions/19_smart_pointers')
-rw-r--r--solutions/19_smart_pointers/rc1.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/solutions/19_smart_pointers/rc1.rs b/solutions/19_smart_pointers/rc1.rs
index 512eb9c..c0a41ab 100644
--- a/solutions/19_smart_pointers/rc1.rs
+++ b/solutions/19_smart_pointers/rc1.rs
@@ -8,7 +8,6 @@ use std::rc::Rc;
#[derive(Debug)]
struct Sun;
-#[allow(dead_code)]
#[derive(Debug)]
enum Planet {
Mercury(Rc<Sun>),