diff options
Diffstat (limited to 'solutions/15_traits/traits4.rs')
| -rw-r--r-- | solutions/15_traits/traits4.rs | 1 |
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() } |
