summaryrefslogtreecommitdiff
path: root/solutions/15_traits/traits3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'solutions/15_traits/traits3.rs')
-rw-r--r--solutions/15_traits/traits3.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/solutions/15_traits/traits3.rs b/solutions/15_traits/traits3.rs
index 3d8ec85..747d919 100644
--- a/solutions/15_traits/traits3.rs
+++ b/solutions/15_traits/traits3.rs
@@ -1,3 +1,5 @@
+#![allow(dead_code)]
+
trait Licensed {
fn licensing_info(&self) -> String {
"Default license".to_string()