diff --git a/rinja/src/lib.rs b/rinja/src/lib.rs index f04be521..0c08273e 100644 --- a/rinja/src/lib.rs +++ b/rinja/src/lib.rs @@ -180,9 +180,11 @@ impl Template for &T { const SIZE_HINT: usize = T::SIZE_HINT; } -/// Object-safe wrapper trait around [`Template`] implementers +/// [`dyn`-compatible] wrapper trait around [`Template`] implementers /// -/// This trades reduced performance (mostly due to writing into `dyn Write`) for object safety. +/// This trades reduced performance (mostly due to writing into `dyn Write`) for dyn-compatibility. +/// +/// [`dyn`-compatible]: https://doc.rust-lang.org/stable/reference/items/traits.html#dyn-compatibility pub trait DynTemplate { /// Helper method which allocates a new `String` and renders into it #[cfg(feature = "alloc")]