diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-08-28 10:25:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-28 10:25:13 +0200 |
commit | d4af0554c43fc6db8c1078169be0c216a00c1628 (patch) | |
tree | 5b6f66567fec5b7766f7cfa98e96129aede92e78 /lib | |
parent | 20dec10722eecb1e9b9ee43a3e1cda7533837c72 (diff) | |
download | Nim-d4af0554c43fc6db8c1078169be0c216a00c1628.tar.gz |
remove unicode.Rune16 without deprecation period; fixes https://github.com/nim-lang/RFCs/issues/151 (#12072)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/unicode.nim | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/pure/unicode.nim b/lib/pure/unicode.nim index 33b720f62..30d805334 100644 --- a/lib/pure/unicode.nim +++ b/lib/pure/unicode.nim @@ -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) |