aboutsummaryrefslogtreecommitdiff
path: root/examples/with-3rd-party/third-party-lib/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-3rd-party/third-party-lib/src')
-rw-r--r--examples/with-3rd-party/third-party-lib/src/lib.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/examples/with-3rd-party/third-party-lib/src/lib.rs b/examples/with-3rd-party/third-party-lib/src/lib.rs
index f3b3ed3..a5afcec 100644
--- a/examples/with-3rd-party/third-party-lib/src/lib.rs
+++ b/examples/with-3rd-party/third-party-lib/src/lib.rs
@@ -1,8 +1,3 @@
-pub trait IShuriken
-{
- fn throw(&self);
-}
-
pub struct Shuriken {}
impl Shuriken
@@ -12,11 +7,8 @@ impl Shuriken
{
Self {}
}
-}
-impl IShuriken for Shuriken
-{
- fn throw(&self)
+ pub fn throw(&self)
{
println!("Threw shuriken!");
}