summaryrefslogtreecommitdiffstats
path: root/web/src/widget/row.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@lich.io>2021-06-01 19:45:47 +0700
committerLibravatar Héctor Ramón <hector@lich.io>2021-06-01 19:45:47 +0700
commit8a3b71df8b619571ce0a972826cb5a3987b66b3d (patch)
tree3d1655b36aa8d7151c878e1879c03c8271a466a5 /web/src/widget/row.rs
parentb94cd7a2a83d81769d31f6379539089ce68cbdcd (diff)
downloadiced-8a3b71df8b619571ce0a972826cb5a3987b66b3d.tar.gz
iced-8a3b71df8b619571ce0a972826cb5a3987b66b3d.tar.bz2
iced-8a3b71df8b619571ce0a972826cb5a3987b66b3d.zip
Replace ignored doc-tests with additional documentation for `Padding`
Diffstat (limited to 'web/src/widget/row.rs')
-rw-r--r--web/src/widget/row.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/web/src/widget/row.rs b/web/src/widget/row.rs
index e0df294e..ffb515cf 100644
--- a/web/src/widget/row.rs
+++ b/web/src/widget/row.rs
@@ -49,11 +49,6 @@ impl<'a, Message> Row<'a, Message> {
}
/// Sets the [`Padding`] of the [`Row`].
- ///```ignore
- /// Row::new(/*...*/).padding(20); // 20px on all sides
- /// Row::new(/*...*/).padding([10, 20]); // top/bottom, left/right
- /// Row::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