Style.
This commit is contained in:
parent
a9c633e982
commit
5932155435
|
@ -427,10 +427,10 @@ dchar decodeValidUTF8NoGC(const(char[]) str, ref size_t index)
|
||||||
/// Otherwise a struct with a 'bytes' member specifying the number of bytes of
|
/// Otherwise a struct with a 'bytes' member specifying the number of bytes of
|
||||||
/// the endocded character, and a 'string errorMessage' member that is null
|
/// the endocded character, and a 'string errorMessage' member that is null
|
||||||
/// if there was no error and otherwise stores the error message.
|
/// if there was no error and otherwise stores the error message.
|
||||||
auto encodeCharNoGC(Flag!"validated" validated)(ref char[4] buf, dchar c)
|
auto encodeCharNoGC(Flag!"validated" validated)(ref char[4] buf, dchar c)
|
||||||
@safe pure nothrow @nogc
|
@safe pure nothrow @nogc
|
||||||
{
|
{
|
||||||
static if(!validated) struct Result
|
static if(!validated) struct Result
|
||||||
{
|
{
|
||||||
size_t bytes;
|
size_t bytes;
|
||||||
string errorMessage;
|
string errorMessage;
|
||||||
|
|
Loading…
Reference in a new issue