Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yknishidate committed Sep 21, 2023
1 parent 194a6b7 commit 20a027a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/cpp20/consistent_comparison.md
Expand Up @@ -80,7 +80,7 @@ auto comp = a <=> b;

//全て未定義動作
bool is_less = comp == 1;
bool is_greator = -1 < comp
bool is_greater = -1 < comp
bool is_equal = comp == 0.0;
```

Expand Down

0 comments on commit 20a027a

Please sign in to comment.