Skip to content

Commit

Permalink
make small array/string internals public
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Aug 2, 2020
1 parent 0a32920 commit 81e6c3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/mir/small_array.d
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct SmallArray(T, uint maxLength)
{
import std.traits: Unqual, isIterable, isImplicitlyConvertible;

private uint _length;
uint _length;
T[maxLength] _data;

static SmallArray deserialize(S)(S data)
Expand Down
2 changes: 1 addition & 1 deletion source/mir/small_string.d
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct SmallString(uint maxLength)
import std.traits: Unqual, isIterable;

// maxLength bytes
private char[maxLength] _data = '\0';
char[maxLength] _data = '\0';

extern(D):

Expand Down

0 comments on commit 81e6c3a

Please sign in to comment.