From 07c80e9a815750079b9a091fdc434ec498bc4cd0 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 7 Aug 2023 15:02:50 +0200 Subject: Touch up docs --- crates/typst-library/src/layout/stack.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/typst-library/src/layout/stack.rs') 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`. -- cgit v1.2.3