Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 70b9149

Browse files
committedJun 27, 2021
Grammar fix.
1 parent 1f3e7fe commit 70b9149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/names/scopes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Helper attributes shadow other attributes of the same name in scope.
257257
Although [`Self`] is a keyword with special meaning, it interacts with name resolution in a way similar to normal names.
258258

259259
The implicit `Self` type in the definition of a [struct], [enum], [union], [trait], or [implementation] is treated similarly to a [generic parameter](#generic-parameter-scopes), and is in scope in the same way as a generic type parameter.
260-
For struct, enum, and unions, it is in scope starting after the generic parameters.
260+
For structs, enums, and unions, it is in scope starting after the generic parameters.
261261
For traits and implementations, it is in scope starting just before the generic parameters.
262262

263263
The implicit `Self` constructor in the value [namespace] of an [implementation] is in scope within the body of the implementation (the implementation's [associated items]).

0 commit comments

Comments
 (0)
Please sign in to comment.