get() now calls slice() directly instead of through prefix().
This commit is contained in:
parent
bfa2f1bd5c
commit
d9079de427
|
@ -279,7 +279,7 @@ final class Reader
|
|||
/// Returns: Characters starting at current position.
|
||||
char[] get(const size_t length) @safe pure nothrow @nogc
|
||||
{
|
||||
auto result = prefix(length);
|
||||
auto result = slice(length);
|
||||
forward(length);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue