Skip to content

Commit

Permalink
fix(comparisons): typo in operators example (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
teros0 authored Jan 3, 2024
1 parent c100a5a commit 23d82b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions concepts/comparisons/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The operators `==` and `!=` check whether a value is equal to another or not, re
Here are some common examples:
```cpp
bool eq3 == 3; // false, integer comparison
bool eq3 = 2 == 3; // false, integer comparison
bool eq4 = 2.1 != 2.2; // true, float comparison
Expand All @@ -42,4 +42,4 @@ bool eq6 = 2 > 3; // false, integer comparison
bool eq7 = 1.2 < 1.3; // true, float comparison

bool eq8 = "Hello" < "World"; // true, string comparison
```
```

0 comments on commit 23d82b7

Please sign in to comment.