Skip to content

Commit b564b84

Browse files
authored
Merge pull request #4788 from JackStouffer/package
[trivial] Mark internal unicode declarations as package
2 parents 3142577 + 0cb88c5 commit b564b84

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

std/internal/unicode_comp.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module std.internal.unicode_comp;
22
import std.internal.unicode_tables;
33

4-
@safe pure nothrow @nogc:
4+
@safe pure nothrow @nogc package(std):
55

66
static if (size_t.sizeof == 8)
77
{

std/internal/unicode_decomp.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module std.internal.unicode_decomp;
22
import std.internal.unicode_tables;
33

4-
@safe pure nothrow @nogc:
4+
@safe pure nothrow @nogc package(std):
55

66
static if (size_t.sizeof == 8)
77
{

std/internal/unicode_grapheme.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module std.internal.unicode_grapheme;
22
import std.internal.unicode_tables;
33

4+
package(std):
5+
46
static if (size_t.sizeof == 8)
57
{
68
//832 bytes

std/internal/unicode_norm.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module std.internal.unicode_norm;
22
import std.internal.unicode_tables;
33

4+
package(std):
5+
46
static if (size_t.sizeof == 8)
57
{
68
//1600 bytes

std/internal/unicode_tables.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
//dfmt off
1111
module std.internal.unicode_tables;
12-
@safe pure nothrow @nogc:
12+
@safe pure nothrow @nogc package(std):
1313

1414

1515
struct SimpleCaseEntry

0 commit comments

Comments
 (0)