File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -180,9 +180,11 @@ impl<T: Template + ?Sized> Template for &T {
180
180
const SIZE_HINT : usize = T :: SIZE_HINT ;
181
181
}
182
182
183
- /// Object-safe wrapper trait around [`Template`] implementers
183
+ /// [`dyn`-compatible] wrapper trait around [`Template`] implementers
184
184
///
185
- /// This trades reduced performance (mostly due to writing into `dyn Write`) for object safety.
185
+ /// 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>
186
188
pub trait DynTemplate {
187
189
/// Helper method which allocates a new `String` and renders into it
188
190
#[ cfg( feature = "alloc" ) ]
You can’t perform that action at this time.
0 commit comments