diff options
Diffstat (limited to 'web/src/widget/container.rs')
-rw-r--r-- | web/src/widget/container.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/web/src/widget/container.rs b/web/src/widget/container.rs index 9040f2ae..c006e011 100644 --- a/web/src/widget/container.rs +++ b/web/src/widget/container.rs @@ -42,11 +42,6 @@ impl<'a, Message> Container<'a, Message> { } /// Sets the [`Padding`] of the [`Container`]. - ///```ignore - /// Container::new(/*...*/).padding(20); // 20px on all sides - /// Container::new(/*...*/).padding([10, 20]); // top/bottom, left/right - /// Container::new(/*...*/).padding([5, 10, 15, 20]); // top, right, bottom, left - /// ``` pub fn padding<P: Into<Padding>>(mut self, padding: P) -> Self { self.padding = padding.into(); self |