mirror of
https://github.com/notohh/rustlings.git
synced 2025-07-21 05:25:34 -04:00
Fix warnings
This commit is contained in:
parent
a4c07ca948
commit
b87aa98634
18 changed files with 28 additions and 8 deletions
exercises/19_smart_pointers
|
@ -8,6 +8,7 @@ use std::rc::Rc;
|
|||
#[derive(Debug)]
|
||||
struct Sun;
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug)]
|
||||
enum Planet {
|
||||
Mercury(Rc<Sun>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue