diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-02-24 19:15:49 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-02-24 19:15:49 +0100 |
| commit | ecd2bca606c0533ec6426b03fc216df256d43c3f (patch) | |
| tree | 9a347db382f94e4d7807af5776cb060fa5bf65ba /src/eval | |
| parent | 49c0bac44dda8be643480df2c4e68623eeec91bd (diff) | |
List above & below
Diffstat (limited to 'src/eval')
| -rw-r--r-- | src/eval/show.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/eval/show.rs b/src/eval/show.rs index a85c70e2..b0fb8172 100644 --- a/src/eval/show.rs +++ b/src/eval/show.rs @@ -43,10 +43,7 @@ impl ShowNode { impl Show for ShowNode { fn show(&self, ctx: &mut Context, styles: StyleChain) -> TypResult<Template> { - ctx.query((self, styles), |ctx, (node, styles)| { - node.0.show(ctx, styles) - }) - .clone() + self.0.show(ctx, styles) } fn pack(self) -> ShowNode { |
