summaryrefslogtreecommitdiff
path: root/src/syntax/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/mod.rs')
-rw-r--r--src/syntax/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs
index 00bcb376..2272b3e0 100644
--- a/src/syntax/mod.rs
+++ b/src/syntax/mod.rs
@@ -588,8 +588,8 @@ pub enum NodeKind {
Space(usize),
/// A consecutive non-markup string.
Text(EcoString),
- /// A forced line break. If soft (`\`, `true`), the preceding line can still
- /// be justified, if hard (`\+`, `false`) not.
+ /// A forced line break. If `true` (`\`), the preceding line can still be
+ /// justified, if `false` (`\+`) not.
Linebreak(bool),
/// A non-breaking space: `~`.
NonBreakingSpace,
@@ -867,8 +867,8 @@ impl NodeKind {
Self::Markup(_) => "markup",
Self::Space(2 ..) => "paragraph break",
Self::Space(_) => "space",
- Self::Linebreak(false) => "hard linebreak",
- Self::Linebreak(true) => "soft linebreak",
+ Self::Linebreak(false) => "linebreak",
+ Self::Linebreak(true) => "justified linebreak",
Self::Text(_) => "text",
Self::NonBreakingSpace => "non-breaking space",
Self::Shy => "soft hyphen",