mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 15:10:26 +00: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