summaryrefslogtreecommitdiff
path: root/crates/typst-layout/src/inline/finalize.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-layout/src/inline/finalize.rs')
-rw-r--r--crates/typst-layout/src/inline/finalize.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-layout/src/inline/finalize.rs b/crates/typst-layout/src/inline/finalize.rs
index 57044f0e..7ad287c4 100644
--- a/crates/typst-layout/src/inline/finalize.rs
+++ b/crates/typst-layout/src/inline/finalize.rs
@@ -14,7 +14,7 @@ pub fn finalize(
expand: bool,
locator: &mut SplitLocator<'_>,
) -> SourceResult<Fragment> {
- // Determine the paragraph's width: Full width of the region if we should
+ // Determine the resulting width: Full width of the region if we should
// expand or there's fractional spacing, fit-to-width otherwise.
let width = if !region.x.is_finite()
|| (!expand && lines.iter().all(|line| line.fr().is_zero()))