Skip to content

Commit 31d7b6a

Browse files
Fix bug of sample code of eql?.
- remove `==`
1 parent 6848de8 commit 31d7b6a

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)