Skip to content

Commit 2583397

Browse files
committed
Grammar fix.
1 parent 9f5694b commit 2583397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/names/scopes.md

+1-1
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)