summaryrefslogtreecommitdiff
path: root/library/src/shared
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-20 18:19:01 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-20 18:20:19 +0100
commit38a0404050b1f6725db1bfd357a41539ef4d9973 (patch)
tree068c57372d255900ecb727ced593143d49cf2b8f /library/src/shared
parent08daade59f3e0005916881fddd1a774a86278fbb (diff)
Document underline, strikethrough, and overline
Diffstat (limited to 'library/src/shared')
-rw-r--r--library/src/shared/ext.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/shared/ext.rs b/library/src/shared/ext.rs
index ba3579e7..bda4b671 100644
--- a/library/src/shared/ext.rs
+++ b/library/src/shared/ext.rs
@@ -45,7 +45,7 @@ impl ContentExt for Content {
}
fn underlined(self) -> Self {
- crate::text::DecoNode::<{ crate::text::UNDERLINE }>(self).pack()
+ crate::text::UnderlineNode(self).pack()
}
fn linked(self, dest: Destination) -> Self {