summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/model')
-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;