diff options
author | 2025-02-02 01:52:04 +0100 | |
---|---|---|
committer | 2025-02-02 01:52:04 +0100 | |
commit | e73d0c65d249026af40518847ac4c505ea3b1383 (patch) | |
tree | 628daf7baf8fbc67b3131e0eead02118a63bb799 /widget/src/pop.rs | |
parent | e78d7f0e51b6f468fe64b4412c67a9de31d9215c (diff) | |
download | iced-e73d0c65d249026af40518847ac4c505ea3b1383.tar.gz iced-e73d0c65d249026af40518847ac4c505ea3b1383.tar.bz2 iced-e73d0c65d249026af40518847ac4c505ea3b1383.zip |
Fix imprecise documentation in `Pop::on_show`
Diffstat (limited to '')
-rw-r--r-- | widget/src/pop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |