diff options
Diffstat (limited to 'crates/typst-library/src/layout/stack.rs')
| -rw-r--r-- | crates/typst-library/src/layout/stack.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/typst-library/src/layout/stack.rs b/crates/typst-library/src/layout/stack.rs index 8d536638..52a2f289 100644 --- a/crates/typst-library/src/layout/stack.rs +++ b/crates/typst-library/src/layout/stack.rs @@ -27,11 +27,11 @@ pub struct StackElem { /// - `{ttb}`: Top to bottom. /// - `{btt}`: Bottom to top. /// - /// You may use the `start` and `end` methods to obtain the initial and - /// final points (respectively) of a direction, as `alignment`. You may - /// also use the `axis` method to obtain whether a direction is - /// `{"horizontal"}` or `{"vertical"}`. Finally, the `inv` method returns - /// its inverse direction. + /// You cab use the `start` and `end` methods to obtain the initial and + /// final points (respectively) of a direction, as `alignment`. You can also + /// use the `axis` method to determine whether a direction is + /// `{"horizontal"}` or `{"vertical"}`. The `inv` method returns a + /// direction's inverse direction. /// /// For example, `{ttb.start()}` is `top`, `{ttb.end()}` is `bottom`, /// `{ttb.axis()}` is `{"vertical"}` and `{ttb.inv()}` is equal to `btt`. |
