From 518096a93c2d607b0907c44d8030cf873e6cfdad Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Wed, 17 Dec 2025 21:37:42 -0800 Subject: [PATCH] associated-items: add missing periods At the end of `items.associated.type.def` and `items.associated.type.alias` --- src/items/associated-items.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/items/associated-items.md b/src/items/associated-items.md index bb66c18abc..c0d0fd0958 100644 --- a/src/items/associated-items.md +++ b/src/items/associated-items.md @@ -261,7 +261,7 @@ There is an implicit [`Sized`] bound on associated types that can be relaxed usi r[items.associated.type.def] An *associated type definition* defines a type alias for the implementation -of a trait on a type +of a trait on a type. r[items.associated.type.def.restriction] 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 where WhereBounds = Type; // deprecated, prefer the form abov r[items.associated.type.alias] If a type `Item` has an associated type `Assoc` from a trait `Trait`, then `::Assoc` is a type that is an alias of the type specified in the -associated type definition +associated type definition. r[items.associated.type.param] Furthermore, if `Item` is a type parameter, then `Item::Assoc` can be used in type parameters.