summaryrefslogtreecommitdiff
path: root/library/src/layout/repeat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/layout/repeat.rs')
-rw-r--r--library/src/layout/repeat.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/library/src/layout/repeat.rs b/library/src/layout/repeat.rs
index ef630cf2..ec582c28 100644
--- a/library/src/layout/repeat.rs
+++ b/library/src/layout/repeat.rs
@@ -38,13 +38,6 @@ impl RepeatNode {
fn construct(_: &Vm, args: &mut Args) -> SourceResult<Content> {
Ok(Self(args.expect("body")?).pack())
}
-
- fn field(&self, name: &str) -> Option<Value> {
- match name {
- "body" => Some(Value::Content(self.0.clone())),
- _ => None,
- }
- }
}
impl Layout for RepeatNode {