mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 20:49:41 +00:00
Update traits.md
This commit is contained in:
@ -143,8 +143,8 @@ fn main() {
|
|||||||
let _one_second = Seconds(1);
|
let _one_second = Seconds(1);
|
||||||
|
|
||||||
println!("One second looks like: {:?}", _one_second);
|
println!("One second looks like: {:?}", _one_second);
|
||||||
let _this_is_true = (_one_second == _one_second);
|
let _this_is_true = _one_second == _one_second;
|
||||||
let _this_is_true = (_one_second > _one_second);
|
let _this_is_true = _one_second > _one_second;
|
||||||
|
|
||||||
let foot = Inches(12);
|
let foot = Inches(12);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user