Skip to content

Commit 372e648

Browse files
committed
Fix Hash#[] vs Hash.fetch header to be h5 [ci skip]
1 parent df633ee commit 372e648

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
@@ -408,7 +408,7 @@ Comparison:
408408

409409
### Hash
410410

411-
#### `Hash#[]` vs `Hash.fetch` [code](code/hash/bracket-vs-fetch.rb)
411+
##### `Hash#[]` vs `Hash.fetch` [code](code/hash/bracket-vs-fetch.rb)
412412

413413
If you use Ruby 2.2, `Symbol` could be more performant than `String` as `Hash` keys.
414414
Read more regarding this: [Symbol GC in Ruby 2.2](http://www.sitepoint.com/symbol-gc-ruby-2-2/) and [Unraveling String Key Performance in Ruby 2.2](http://www.sitepoint.com/unraveling-string-key-performance-ruby-2-2/).

0 commit comments

Comments
 (0)