From bd7edfa99344fd0c46f55cba9e96db195f248c58 Mon Sep 17 00:00:00 2001 From: slhx agent Date: Tue, 2 Jun 2026 07:25:21 +0200 Subject: [PATCH] docs(api): point raw shims at targets Keep compatibility shim docs aligned with generated target objects as the preferred partial/swap authoring API. req: dx/006 --- slhx/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slhx/src/lib.rs b/slhx/src/lib.rs index 64eac16..2792473 100644 --- a/slhx/src/lib.rs +++ b/slhx/src/lib.rs @@ -20,7 +20,7 @@ pub fn render_html(view: &impl hemplate::Hemplate) -> SafeHtml { /// Compatibility shim for raw slot rendering. /// -/// Prefer generated view-module commands such as `ui::put(slot, &view)` so +/// Prefer generated target objects such as `targets::list.put(&view)` so /// generated resource lowering stays attached to the view boundary. req: dx/006 #[doc(hidden)] pub trait RenderSlotExt { @@ -42,8 +42,8 @@ impl RenderSlotExt for Slot { /// Compatibility shim for raw keyed slot rendering. /// -/// Prefer generated view-module commands such as `ui::append(slot, key, &view)` -/// so generated resource lowering stays attached to the view boundary. req: dx/006 +/// Prefer generated target objects such as `targets::row.append(key, &view)` so +/// generated resource lowering stays attached to the view boundary. req: dx/006 #[doc(hidden)] pub trait RenderKeyedSlotExt { fn append(self, key: K, view: &impl hemplate::Hemplate) -> Effect;