Skip to content

Commit 2f528bd

Browse files
wojtodzioJuanitoFatas
authored andcommitted
Fix typos in links to code
1 parent 9b49442 commit 2f528bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ Comparison:
601601
Hash#fetch, string: 3981166.5 i/s - 1.89x slower
602602
```
603603

604-
##### `Hash#dig` vs `Hash#[]` vs `Hash#fetch` [code](code/hash/dig-vs-[]-fetch.rb)
604+
##### `Hash#dig` vs `Hash#[]` vs `Hash#fetch` [code](code/hash/dig-vs-[]-vs-fetch.rb)
605605

606606
[Ruby 2.3 introduced `Hash#dig`](http://ruby-doc.org/core-2.3.0/Hash.html#method-i-dig) which is a readable
607607
and performant option for retrieval from a nested hash, returning `nil` if an extraction step fails.
@@ -878,7 +878,7 @@ Comparison:
878878
String#+: 2977282.7 i/s - 1.80x slower
879879
```
880880

881-
##### `String#match` vs `String#start_with?`/`String#end_with?` [code (start)](code/string/start-string-checking-match-vs-start_with.rb) [code (end)](end-string-checking-match-vs-end_with.rb)
881+
##### `String#match` vs `String#start_with?`/`String#end_with?` [code (start)](code/string/start-string-checking-match-vs-start_with.rb) [code (end)](code/string/end-string-checking-match-vs-end_with.rb)
882882

883883
> :warning: <br>
884884
> Sometimes you cant replace regexp with `start_with?`, <br>
File renamed without changes.

0 commit comments

Comments
 (0)