diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-26 14:29:10 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-26 14:29:10 +0200 |
| commit | 3e052e6e017eaf51b101fa87629e392c16c32ac2 (patch) | |
| tree | bafe142ad3501b22be46401bd8e972d89d16d45e /src/library/layout | |
| parent | a9869c212f7c1bc77a52e301ad014641b014e834 (diff) | |
All methods for groups
Diffstat (limited to 'src/library/layout')
| -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))) } |
