mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 12:39:42 +00:00
Merge pull request #158 from iLoveTangY/fix/missing-trait
fix: complement missing trait in 9.5
This commit is contained in:
@ -102,6 +102,7 @@ trait UsernameWidget {
|
|||||||
fn get(&self) -> String;
|
fn get(&self) -> String;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
trait AgeWidget {
|
||||||
fn get(&self) -> u8;
|
fn get(&self) -> u8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user