summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/layout/stack.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-08-07 15:02:50 +0200
committerLaurenz <laurmaedje@gmail.com>2023-08-07 15:58:16 +0200
commit07c80e9a815750079b9a091fdc434ec498bc4cd0 (patch)
treef0ccb4472e1f6491212bf39509a5f947bfdeb5ef /crates/typst-library/src/layout/stack.rs
parent800744ed9d3923eecf3436f2029e77033e8f1b6a (diff)
Touch up docs
Diffstat (limited to 'crates/typst-library/src/layout/stack.rs')
-rw-r--r--crates/typst-library/src/layout/stack.rs10
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`.