Minor style.

This commit is contained in:
Ferdinand Majerech 2014-07-26 23:32:25 +02:00
parent ebe10ad8c4
commit a8c32430ed

View file

@ -582,8 +582,7 @@ auto decodeUTF(ubyte[] input, UTFEncoding encoding) @safe pure nothrow
if(result.errorMessage !is null) { return result; }
// XXX This is risky. We rely on the assumption that the scanner only uses
// peek() to detect the end of the buffer. Should this cause any bugs,
// revert.
// peek() to detect the end of the buffer. Should this cause any bugs, revert.
//
// The buffer must be zero terminated for scanner to detect its end.
// if(result.decoded.empty || result.decoded.back() != '\0')