From 9e78d13f921f7eaf059eb1566df8832bd202f3d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Sat, 12 Oct 2024 16:54:48 +0200 Subject: [PATCH] "object safe" is now "dyn-compatible" The phrase was changed in . --- rinja/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rinja/src/lib.rs b/rinja/src/lib.rs index 3e61ff9f..758bd2ca 100644 --- a/rinja/src/lib.rs +++ b/rinja/src/lib.rs @@ -174,9 +174,11 @@ impl Template for &T { const MIME_TYPE: &'static str = T::MIME_TYPE; } -/// 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]: pub trait DynTemplate { /// Helper method which allocates a new `String` and renders into it fn dyn_render(&self) -> Result;