Update traits.md

This commit is contained in:
tu6ge
2022-05-07 10:59:26 +08:00
committed by GitHub
parent b667d8ee32
commit 6ef18ef991

View File

@ -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);