mirror of
https://github.com/dlang/phobos.git
synced 2025-05-02 16:10:45 +03:00
Mark std.uni.isRegionalIndicator as safe
This commit is contained in:
parent
7ae388801f
commit
f23fce0026
1 changed files with 1 additions and 1 deletions
|
@ -6249,7 +6249,7 @@ enum controlSwitch = `
|
||||||
// TODO: redo the most of hangul stuff algorithmically in case of Graphemes too
|
// TODO: redo the most of hangul stuff algorithmically in case of Graphemes too
|
||||||
// kill unrolled switches
|
// kill unrolled switches
|
||||||
|
|
||||||
private static bool isRegionalIndicator(dchar ch)
|
private static bool isRegionalIndicator(dchar ch) @safe
|
||||||
{
|
{
|
||||||
return ch >= '\U0001F1E6' && ch <= '\U0001F1FF';
|
return ch >= '\U0001F1E6' && ch <= '\U0001F1FF';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue