From 08291749839403cd6fa73854442c7485f0f8711e Mon Sep 17 00:00:00 2001 From: david Date: Mon, 1 Jul 2024 16:23:02 +0200 Subject: [PATCH] solution to exercise 04_02 --- exercises/04_traits/02_orphan_rule/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/exercises/04_traits/02_orphan_rule/src/lib.rs b/exercises/04_traits/02_orphan_rule/src/lib.rs index b707c10..7927ba2 100644 --- a/exercises/04_traits/02_orphan_rule/src/lib.rs +++ b/exercises/04_traits/02_orphan_rule/src/lib.rs @@ -3,9 +3,3 @@ // a foreign type (`u32`, from `std`). // Look at the compiler error to get familiar with what it looks like. // Then delete the code below and move on to the next exercise. - -impl PartialEq for u32 { - fn eq(&self, _other: &Self) -> bool { - todo!() - } -}