mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-23 14:12:23 -05:00
Highlight change in traits4 solution
This commit is contained in:
parent
45cfe86fb0
commit
c170740423
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue