From e73d0c65d249026af40518847ac4c505ea3b1383 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 2 Feb 2025 01:52:04 +0100 Subject: Fix imprecise documentation in `Pop::on_show` --- widget/src/pop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widget/src') diff --git a/widget/src/pop.rs b/widget/src/pop.rs index 8cef40e8..146cfb2b 100644 --- a/widget/src/pop.rs +++ b/widget/src/pop.rs @@ -43,7 +43,7 @@ where /// Sets the message to be produced when the content pops into view. /// - /// The closure will receive the relative bounds of the content in that moment. + /// The closure will receive the [`Size`] of the content in that moment. pub fn on_show(mut self, on_show: impl Fn(Size) -> Message + 'a) -> Self { self.on_show = Some(Box::new(on_show)); self -- cgit