We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c01e3dc commit 36a6c6cCopy full SHA for 36a6c6c
rinja/src/lib.rs
@@ -180,9 +180,11 @@ impl<T: Template + ?Sized> Template for &T {
180
const SIZE_HINT: usize = T::SIZE_HINT;
181
}
182
183
-/// Object-safe wrapper trait around [`Template`] implementers
+/// [`dyn`-compatible] wrapper trait around [`Template`] implementers
184
///
185
-/// 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.
186
+///
187
+/// [`dyn`-compatible]: <https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility>
188
pub trait DynTemplate {
189
/// Helper method which allocates a new `String` and renders into it
190
#[cfg(feature = "alloc")]
0 commit comments