summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-06-27 12:29:35 +0200
committermo8it <mo8it@proton.me>2024-06-27 12:29:35 +0200
commitc1707404231e5a1d7bc837e21faf34fdc51db0bf (patch)
treed5e59d4ada309f0e69fe35d72a552ef55e6617b7
parent45cfe86fb05a21dd52d9d72d07e881037803395d (diff)
Highlight change in traits4 solution
-rw-r--r--solutions/15_traits/traits4.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/solutions/15_traits/traits4.rs b/solutions/15_traits/traits4.rs
index 78b5a11..3675b8d 100644
--- a/solutions/15_traits/traits4.rs
+++ b/solutions/15_traits/traits4.rs
@@ -11,6 +11,7 @@ impl Licensed for SomeSoftware {}
impl Licensed for OtherSoftware {}
fn compare_license_types(software1: impl Licensed, software2: impl Licensed) -> bool {
+ // ^^^^^^^^^^^^^ ^^^^^^^^^^^^^
software1.licensing_info() == software2.licensing_info()
}