diff --git a/src/ty.rs b/src/ty.rs index 8249d997ef..0f1341fddd 100644 --- a/src/ty.rs +++ b/src/ty.rs @@ -54,7 +54,7 @@ ast_enum_of_structs! { /// A dynamically sized slice type: `[T]`. Slice(TypeSlice), - /// A trait object type `Bound1 + Bound2 + Bound3` where `Bound` is a + /// A trait object type `dyn Bound1 + Bound2 + Bound3` where `Bound` is a /// trait or a lifetime. TraitObject(TypeTraitObject), @@ -244,7 +244,7 @@ ast_struct! { } ast_struct! { - /// A trait object type `Bound1 + Bound2 + Bound3` where `Bound` is a + /// A trait object type `dyn Bound1 + Bound2 + Bound3` where `Bound` is a /// trait or a lifetime. /// /// *This type is available only if Syn is built with the `"derive"` or