Merge pull request #437 from maorit/fix_typo_traits

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:
Sunface
2023-08-11 10:52:26 +08:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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