mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 20:49:41 +00:00
fix typo: in generics-traits/traits, change the name of variable _this_is_true
to its intended name of _this_is_false
.
This commit is contained in:
@ -143,7 +143,7 @@ fn main() {
|
|||||||
|
|
||||||
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_false = (_one_second > _one_second);
|
||||||
|
|
||||||
let foot = Inches(12);
|
let foot = Inches(12);
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ fn main() {
|
|||||||
|
|
||||||
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_false = (_one_second > _one_second);
|
||||||
|
|
||||||
let foot = Inches(12);
|
let foot = Inches(12);
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ fn main() {
|
|||||||
|
|
||||||
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_false = _one_second > _one_second;
|
||||||
|
|
||||||
let foot = Inches(12);
|
let foot = Inches(12);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user