From aa0c99dd70bb57c11a445be73a75418daa1e6a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Wed, 7 Oct 2026 16:14:23 -0400 Subject: [PATCH] =?UTF-8?q?Toggle=20=C2=B7=20shorter=20doc=20comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/buttons/group.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buttons/group.rs b/src/buttons/group.rs index a4a47e6..81265f6 100644 --- a/src/buttons/group.rs +++ b/src/buttons/group.rs @@ -52,7 +52,7 @@ impl RenderOnce for ButtonGroup { } } -/// One choice in a toggle: a label, an icon, or both. +/// A toggle choice: a label, an icon, or both. #[derive(Clone)] pub struct ToggleItem { value: SharedString, @@ -215,7 +215,7 @@ impl RenderOnce for ToggleButton { type OnChange = Rc; -/// Toggles side by side, wrapping onto more lines when narrow. One is chosen, or several with `multiple`. +/// Wrapping toggles; one chosen, or several with `multiple`. #[derive(IntoElement)] pub struct ToggleGroup { id: ElementId,