style, address D-Scanner warnings on event.d

This commit is contained in:
Basile Burg 2018-06-12 11:40:50 +02:00
parent 03c9972485
commit c839064133

View file

@ -173,14 +173,14 @@ Event streamStartEvent(const Mark start, const Mark end, const Encoding encoding
}
///Aliases for simple events.
alias event!(EventID.StreamEnd) streamEndEvent;
alias event!(EventID.Alias) aliasEvent;
alias event!(EventID.SequenceEnd) sequenceEndEvent;
alias event!(EventID.MappingEnd) mappingEndEvent;
alias streamEndEvent = event!(EventID.StreamEnd);
alias aliasEvent = event!(EventID.Alias);
alias sequenceEndEvent = event!(EventID.SequenceEnd);
alias mappingEndEvent = event!(EventID.MappingEnd);
///Aliases for collection start events.
alias collectionStartEvent!(EventID.SequenceStart) sequenceStartEvent;
alias collectionStartEvent!(EventID.MappingStart) mappingStartEvent;
alias sequenceStartEvent = collectionStartEvent!(EventID.SequenceStart);
alias mappingStartEvent = collectionStartEvent!(EventID.MappingStart);
/**
* Construct a document start event.