summaryrefslogtreecommitdiff
path: root/src/model/content.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-24 17:52:02 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-24 18:00:36 +0200
commit2791f59ce2404d0483aee92b8231df95aa45b7a5 (patch)
tree13d4f86f8a3bd7c021dc43721f82b6ef23913e30 /src/model/content.rs
parent89927d7de069169eeecfa091d6b77408b69fe188 (diff)
Clean up the parser a bit
Diffstat (limited to 'src/model/content.rs')
-rw-r--r--src/model/content.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/content.rs b/src/model/content.rs
index 2465f0e3..03153684 100644
--- a/src/model/content.rs
+++ b/src/model/content.rs
@@ -154,7 +154,7 @@ impl Content {
Self::show(DecoNode::<UNDERLINE>(self))
}
- /// Return a node that is spaced apart at top and bottom.
+ /// Add vertical spacing above and below the node.
pub fn spaced(self, above: Length, below: Length) -> Self {
if above.is_zero() && below.is_zero() {
return self;