From 724e9b140cc0a87208aa9c4914b1b8aeddf25c30 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 13 Mar 2023 21:40:57 +0100 Subject: Locatability and synthesis improvements --- library/src/shared/ext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/src/shared') diff --git a/library/src/shared/ext.rs b/library/src/shared/ext.rs index 44f933e2..e335b4c8 100644 --- a/library/src/shared/ext.rs +++ b/library/src/shared/ext.rs @@ -42,7 +42,7 @@ impl ContentExt for Content { } fn linked(self, dest: Destination) -> Self { - self.styled(MetaNode::set_data(vec![Meta::Link(dest.clone())])) + self.styled(MetaNode::set_data(vec![Meta::Link(dest)])) } fn aligned(self, aligns: Axes>) -> Self { -- cgit v1.2.3