From 8a8c4cec77342cc8c0772122cd2d0a71085c2c24 Mon Sep 17 00:00:00 2001 From: Jacob Garm <37753339+Jacobgarm@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:11:25 +0200 Subject: [PATCH] Fix typo in `block.clip` documentation (#4895) --- crates/typst/src/layout/container.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typst/src/layout/container.rs b/crates/typst/src/layout/container.rs index 5f4a7cd2b..1dbd73650 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(