Skip to content

Commit 043a580

Browse files
committed
Merge pull request #372 from fortissimo1997/fix_sample_of_eql
Fix bug of sample code of `eql?`.
2 parents 6848de8 + 31d7b6a commit 043a580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ condition](#safe-assignment-in-condition).
13681368

13691369
# good
13701370
"ruby" == some_str
1371-
1.0.eql? == x # eql? makes sense here if want to differentiate between Fixnum and Float 1
1371+
1.0.eql? x # eql? makes sense here if want to differentiate between Fixnum and Float 1
13721372
```
13731373

13741374
* <a name="no-cryptic-perlisms"></a>

0 commit comments

Comments
 (0)