summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
Diffstat (limited to 'src/library')
-rw-r--r--src/library/layout.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/layout.rs b/src/library/layout.rs
index 27b2e743..08924bad 100644
--- a/src/library/layout.rs
+++ b/src/library/layout.rs
@@ -210,7 +210,7 @@ castable! {
AlignValue: "alignment",
}
-/// ´box`: Place content in a rectangular box.
+/// `box`: Place content in a rectangular box.
pub fn boxed(ctx: &mut EvalContext, args: &mut FuncArgs) -> Value {
let width = args.named(ctx, "width");
let height = args.named(ctx, "height");
@@ -221,7 +221,7 @@ pub fn boxed(ctx: &mut EvalContext, args: &mut FuncArgs) -> Value {
})
}
-/// block`: Place content in a block.
+/// `block`: Place content in a block.
pub fn block(ctx: &mut EvalContext, args: &mut FuncArgs) -> Value {
let body = args.eat(ctx).unwrap_or_default();
Value::template(move |ctx| {