summaryrefslogtreecommitdiff
path: root/library/src/meta/reference.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/meta/reference.rs')
-rw-r--r--library/src/meta/reference.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/meta/reference.rs b/library/src/meta/reference.rs
index 0b317db0..24687845 100644
--- a/library/src/meta/reference.rs
+++ b/library/src/meta/reference.rs
@@ -119,7 +119,7 @@ impl Show for RefElem {
.map(TextElem::packed)
.unwrap_or_default(),
Smart::Custom(None) => Content::empty(),
- Smart::Custom(Some(Supplement::Content(content))) => content.clone(),
+ Smart::Custom(Some(Supplement::Content(content))) => content,
Smart::Custom(Some(Supplement::Func(func))) => {
func.call_vt(vt, [elem.clone().into()])?.display()
}