From e7c14ea67e4a39789e7c1dd3a264c61a9c14050e Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Sun, 27 Sep 2026 15:47:45 -0500 Subject: rustlings: complete 15 --- rustlings/exercises/15_traits/traits5.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rustlings/exercises/15_traits/traits5.rs') diff --git a/rustlings/exercises/15_traits/traits5.rs b/rustlings/exercises/15_traits/traits5.rs index 5b356ac..6548014 100644 --- a/rustlings/exercises/15_traits/traits5.rs +++ b/rustlings/exercises/15_traits/traits5.rs @@ -19,7 +19,7 @@ impl SomeTrait for OtherStruct {} impl OtherTrait for OtherStruct {} // TODO: Fix the compiler error by only changing the signature of this function. -fn some_func(item: ???) -> bool { +fn some_func(item: T) -> bool { item.some_function() && item.other_function() } -- cgit v1.2.3