Skip to content

Commit 4269e41

Browse files
author
Chad Shaffer
committed
Fix broken links in collection rules
1 parent 7de6c9a commit 4269e41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2975,7 +2975,7 @@ condition](#safe-assignment-in-condition).
29752975
Do not modify a collection while traversing it.
29762976
<sup>[[link](#no-modifying-collections)]</sup>
29772977

2978-
* <a name="acessing-elements-directly"></a>
2978+
* <a name="accessing-elements-directly"></a>
29792979
When accessing elements of a collection, avoid direct access
29802980
via `[n]` by using an alternate form of the reader method if it is
29812981
supplied. This guards you from calling `[]` on `nil`.
@@ -2993,7 +2993,7 @@ condition](#safe-assignment-in-condition).
29932993
When providing an accessor for a collection, provide an alternate form
29942994
to save users from checking for `nil` before accessing an element in
29952995
the collection.
2996-
<sup>[[link](#provide-alternate-accessor-to_collections")]</sup>
2996+
<sup>[[link](#provide-alternate-accessor-to-collections")]</sup>
29972997

29982998
```Ruby
29992999
# bad

0 commit comments

Comments
 (0)