From d084f0bc8671cea084d69233e88fe58ee5c77938 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 25 Aug 2024 18:43:21 +0700 Subject: [PATCH] masonry: Remove 2 references to tutorials. (#546) --- masonry/src/widget/widget.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/masonry/src/widget/widget.rs b/masonry/src/widget/widget.rs index c9022432..52065f7e 100644 --- a/masonry/src/widget/widget.rs +++ b/masonry/src/widget/widget.rs @@ -57,13 +57,12 @@ pub struct WidgetId(pub(crate) NonZeroU64); /// /// Widgets also have a [`children`](Self::children) method. Leaf widgets return an empty array, /// whereas container widgets return an array of [`WidgetRef`]. Container widgets -/// have some validity invariants to maintain regarding their children. See TUTORIAL_2 -/// for details **(TODO)**. +/// have some validity invariants to maintain regarding their children. /// /// Generally speaking, widgets aren't used directly. They are stored in /// [`WidgetPod`](crate::WidgetPod)s. Widget methods are called by `WidgetPod`s, and the /// widget is mutated either during a method call (eg `on_event` or `lifecycle`) or -/// through a [`WidgetMut`](crate::widget::WidgetMut). See tutorials for details. +/// through a [`WidgetMut`](crate::widget::WidgetMut). #[allow(unused_variables)] pub trait Widget: AsAny { /// Handle an event - usually user interaction.