summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Garm <37753339+Jacobgarm@users.noreply.github.com>2024-09-04 13:11:25 +0200
committerGitHub <noreply@github.com>2024-09-04 11:11:25 +0000
commit8a8c4cec77342cc8c0772122cd2d0a71085c2c24 (patch)
treeb28fe295bac9dc5a962dfe6757db2d9b37f3408e
parenta87d4776c02fb7fc1492cf30f453e38879bf72e4 (diff)
Fix typo in `block.clip` documentation (#4895)
-rw-r--r--crates/typst/src/layout/container.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst/src/layout/container.rs b/crates/typst/src/layout/container.rs
index 5f4a7cd2..1dbd7365 100644
--- a/crates/typst/src/layout/container.rs
+++ b/crates/typst/src/layout/container.rs
@@ -439,8 +439,8 @@ pub struct BlockElem {
/// Whether to clip the content inside the block.
///
- /// Clipping is useful when the block's content is larger than the box itself,
- /// as any content that exceeds the box's bounds will be hidden.
+ /// Clipping is useful when the block's content is larger than the block itself,
+ /// as any content that exceeds the block's bounds will be hidden.
///
/// ```example
/// #block(