diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-06 11:52:09 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-06 11:52:09 +0100 |
| commit | ea8edfa821f059921550c45d4f0267160b638a04 (patch) | |
| tree | 940c358e400e55bc1ba47faf7c1fa07611af5241 /library/src/layout/stack.rs | |
| parent | 0bb0f1c98fc8eff5d7556bbe9d5801f02237a5c0 (diff) | |
Make Rust happier about the inline documentation
Diffstat (limited to 'library/src/layout/stack.rs')
| -rw-r--r-- | library/src/layout/stack.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/src/layout/stack.rs b/library/src/layout/stack.rs index 0fd0f235..54b03bdc 100644 --- a/library/src/layout/stack.rs +++ b/library/src/layout/stack.rs @@ -10,7 +10,7 @@ use crate::prelude::*; /// between each item. /// /// ## Example -/// ``` +/// ```example /// #stack( /// dir: ttb, /// rect(width: 40pt), @@ -20,10 +20,10 @@ use crate::prelude::*; /// ``` /// /// ## Parameters -/// - items: StackChild (positional, variadic) +/// - items: `StackChild` (positional, variadic) /// The items to stack along an axis. /// -/// - dir: Dir (named) +/// - dir: `Dir` (named) /// The direction along which the items are stacked. Possible values are: /// /// - `{ltr}`: Left to right. @@ -31,7 +31,7 @@ use crate::prelude::*; /// - `{ttb}`: Top to bottom. /// - `{btt}`: Bottom to top. /// -/// - spacing: Spacing (named) +/// - spacing: `Spacing` (named) /// Spacing to insert between items where no explicit spacing was provided. /// /// ## Category |
