diff options
Diffstat (limited to 'src/library')
| -rw-r--r-- | src/library/layout/locate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/layout/locate.rs b/src/library/layout/locate.rs index e94a48ba..74480b91 100644 --- a/src/library/layout/locate.rs +++ b/src/library/layout/locate.rs @@ -3,7 +3,7 @@ use crate::model::{Group, LocateNode}; /// Format content with access to its location on the page. pub fn locate(_: &mut Machine, args: &mut Args) -> TypResult<Value> { - let node = LocateNode::new(args.expect("recipe")?); + let node = LocateNode::single(args.expect("recipe")?); Ok(Value::Content(Content::Locate(node))) } |
