summaryrefslogtreecommitdiff
path: root/library/src/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-20 10:48:25 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-20 10:48:25 +0200
commit7bb69c0902b4b074281a95236120775d74879ed6 (patch)
tree4b76b319661f77681f6b6b37e9baea7651beaa9d /library/src/text
parent10fac143414099b4f0a34eca4961f47c4ac09938 (diff)
Check crate docs in CI
Diffstat (limited to 'library/src/text')
-rw-r--r--library/src/text/shaping.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/text/shaping.rs b/library/src/text/shaping.rs
index d0c879fe..9f514e9a 100644
--- a/library/src/text/shaping.rs
+++ b/library/src/text/shaping.rs
@@ -134,7 +134,7 @@ impl ShapedGlyph {
matches!(self.c, '《' | '(' | '『' | '「')
}
- /// See https://www.w3.org/TR/clreq/#punctuation_width_adjustment
+ /// See <https://www.w3.org/TR/clreq/#punctuation_width_adjustment>
pub fn is_cjk_center_aligned_punctuation(&self, gb_style: bool) -> bool {
if !gb_style && matches!(self.c, ',' | '。' | '、' | ':' | ';') {
return true;