diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-24 21:36:41 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-24 21:38:23 +0200 |
| commit | 2f33ad0e0aa3d1f4a949025597bf1ea36256831f (patch) | |
| tree | c98bff188e35d0836384418c7da1635660b10fe7 /src/library | |
| parent | 2791f59ce2404d0483aee92b8231df95aa45b7a5 (diff) | |
Rename soft linebreak to justified linebreak
Diffstat (limited to 'src/library')
| -rw-r--r-- | src/library/text/par.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/text/par.rs b/src/library/text/par.rs index 17fcea75..4694993e 100644 --- a/src/library/text/par.rs +++ b/src/library/text/par.rs @@ -168,8 +168,8 @@ pub struct LinebreakNode; #[node] impl LinebreakNode { fn construct(_: &mut Context, args: &mut Args) -> TypResult<Content> { - let soft = args.named("soft")?.unwrap_or(false); - Ok(Content::Linebreak(soft)) + let justified = args.named("justified")?.unwrap_or(false); + Ok(Content::Linebreak(justified)) } } |
