Skip to content

Commit 94e861a

Browse files
committed
update doc
1 parent 1be71b8 commit 94e861a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

uing.nim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,9 @@ proc newFeaturesAttribute*(otf: OpenTypeFeatures): Attribute =
829829

830830
proc features*(a: Attribute): OpenTypeFeatures =
831831
## Returns the OpenType features stored in `a`.
832-
## It is an error to call this on a Attribute
833-
## that does not hold OpenType features.
832+
##
833+
## .. error:: It is an error to call this on a Attribute
834+
## that does not hold OpenType features.
834835

835836
newFinal result
836837
result.impl = rawui.attributeFeatures(a.impl)

0 commit comments

Comments
 (0)