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:
chenhai
2023-08-05 21:52:37 +08:00
parent 88191e18b2
commit 4c86411100
3 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ fn main() {
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_false = (_one_second > _one_second);
let foot = Inches(12);

View File

@ -66,7 +66,7 @@ fn main() {
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_false = (_one_second > _one_second);
let foot = Inches(12);

View File

@ -144,7 +144,7 @@ fn main() {
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_false = _one_second > _one_second;
let foot = Inches(12);