summaryrefslogtreecommitdiff
path: root/library/src/structure/reference.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-25 10:36:31 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-25 12:16:13 +0100
commitbf5edbbbbb75120d065d1c9587ccfa4eed4fdca1 (patch)
tree956af910ab27a8cec0db83171cd3f0b6d0570a60 /library/src/structure/reference.rs
parent96f72eee6c6b595164c7a0576c407d7a590661db (diff)
Tidy up
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))
}
}