summaryrefslogtreecommitdiff
path: root/library/src/layout/hide.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-13 11:00:11 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-13 11:00:11 +0100
commitdb49b628f73d3c328aacadbb9126616e7cccfc49 (patch)
treec5a4a176e70ac528a3b11ca5ccbdc590b6e1ed87 /library/src/layout/hide.rs
parent58adf1d025bd7ff149d7fd06147b0f3e069f8c7d (diff)
Remove dumb `field` functions
Diffstat (limited to 'library/src/layout/hide.rs')
-rw-r--r--library/src/layout/hide.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/library/src/layout/hide.rs b/library/src/layout/hide.rs
index 4f46324f..019dd2a6 100644
--- a/library/src/layout/hide.rs
+++ b/library/src/layout/hide.rs
@@ -30,13 +30,6 @@ impl HideNode {
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 Show for HideNode {