remove unicode.Rune16 without deprecation period; fixes https://github.com/nim-lang/RFCs/issues/151 (#12072)
This commit is contained in:
parent
20dec10722
commit
d4af0554c4
2 changed files with 12 additions and 5 deletions
|
|
@ -31,11 +31,6 @@ type
|
|||
## Type that can hold a single Unicode code point.
|
||||
##
|
||||
## A Rune may be composed with other Runes to a character on the screen.
|
||||
Rune16* = distinct int16 ## \
|
||||
## Type that can hold a single UTF-16 encoded character.
|
||||
##
|
||||
## A single Rune16 may not be enough to hold an arbitrary Unicode code point.
|
||||
|
||||
|
||||
template ones(n: untyped): untyped = ((1 shl n)-1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue