Skip to content

Commit 6237023

Browse files
authored
Merge pull request #2116 from DanielEScherzer/patch-1
associated-items: add missing periods
2 parents b79ffa9 + 518096a commit 6237023

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/items/associated-items.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ There is an implicit [`Sized`] bound on associated types that can be relaxed usi
261261

262262
r[items.associated.type.def]
263263
An *associated type definition* defines a type alias for the implementation
264-
of a trait on a type
264+
of a trait on a type.
265265

266266
r[items.associated.type.def.restriction]
267267
They are written similarly to an *associated type declaration*, but cannot contain `Bounds`, but instead must contain a `Type`:
@@ -277,7 +277,7 @@ type Assoc<Params> where WhereBounds = Type; // deprecated, prefer the form abov
277277
r[items.associated.type.alias]
278278
If a type `Item` has an associated type `Assoc` from a trait `Trait`, then
279279
`<Item as Trait>::Assoc` is a type that is an alias of the type specified in the
280-
associated type definition
280+
associated type definition.
281281

282282
r[items.associated.type.param]
283283
Furthermore, if `Item` is a type parameter, then `Item::Assoc` can be used in type parameters.

0 commit comments

Comments
 (0)