More @safe.
This commit is contained in:
parent
4ed4a2c746
commit
b63c0849e7
|
@ -711,7 +711,7 @@ final class Scanner
|
|||
alias fetchBlockScalar!(ScalarStyle.Folded) fetchFolded;
|
||||
|
||||
/// Add quoted flow SCALAR token.
|
||||
void fetchFlowScalar(ScalarStyle quotes)() @trusted
|
||||
void fetchFlowScalar(ScalarStyle quotes)() @safe
|
||||
{
|
||||
//A flow scalar could be a simple key.
|
||||
savePossibleSimpleKey();
|
||||
|
@ -729,7 +729,7 @@ final class Scanner
|
|||
alias fetchFlowScalar!(ScalarStyle.DoubleQuoted) fetchDouble;
|
||||
|
||||
/// Add plain SCALAR token.
|
||||
void fetchPlain() @trusted
|
||||
void fetchPlain() @safe
|
||||
{
|
||||
// A plain scalar could be a simple key
|
||||
savePossibleSimpleKey();
|
||||
|
|
Loading…
Reference in a new issue