summaryrefslogtreecommitdiff
path: root/library/src/structure/reference.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/structure/reference.rs')
-rw-r--r--library/src/structure/reference.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/structure/reference.rs b/library/src/structure/reference.rs
index 361f8c25..948aa6f6 100644
--- a/library/src/structure/reference.rs
+++ b/library/src/structure/reference.rs
@@ -20,7 +20,7 @@ impl RefNode {
}
impl Show for RefNode {
- fn show(&self, _: Tracked<dyn World>, _: StyleChain) -> SourceResult<Content> {
- Ok(TextNode::packed(format_eco!("@{}", self.0)))
+ fn show(&self, _: Tracked<dyn World>, _: StyleChain) -> Content {
+ TextNode::packed(format_eco!("@{}", self.0))
}
}