mirror of
https://github.com/notohh/rustlings.git
synced 2025-08-20 00:43:36 -04:00
Allow dead code for all exercises and solutions
This commit is contained in:
parent
3947c4de28
commit
0513660b05
9 changed files with 8 additions and 18 deletions
exercises/19_smart_pointers
|
@ -8,7 +8,6 @@ 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