summaryrefslogtreecommitdiff
path: root/src/library/pad.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-03-22 10:48:29 +0100
committerLaurenz <laurmaedje@gmail.com>2021-03-22 10:48:29 +0100
commit39f55481ed7bc5ebc6d310924e90e7b6c0760d3b (patch)
treec5733ae87270e3050a0cec02a936eb843684958a /src/library/pad.rs
parent83fa2c075eb8e41bd1a29157eb02f814f7f0ae96 (diff)
More consistent documentation 📝
Diffstat (limited to 'src/library/pad.rs')
-rw-r--r--src/library/pad.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/pad.rs b/src/library/pad.rs
index 9f05f7ce..5a685d2a 100644
--- a/src/library/pad.rs
+++ b/src/library/pad.rs
@@ -14,7 +14,7 @@ use crate::layout::PadNode;
/// - Bottom padding: `bottom`, of type `linear` relative to parent height.
///
/// # Return value
-/// A template that pads the body at the sides.
+/// A template that sets the body into a padded area.
pub fn pad(ctx: &mut EvalContext, args: &mut FuncArgs) -> Value {
let all = args.find(ctx);
let left = args.get(ctx, "left");