From 2791f59ce2404d0483aee92b8231df95aa45b7a5 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 24 Apr 2022 17:52:02 +0200 Subject: Clean up the parser a bit --- src/model/content.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/model') 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::(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; -- cgit v1.2.3