Merge pull request #160 from BBasile/style-event

style, address D-Scanner warnings on event.d
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2018-06-12 11:46:54 +02:00 committed by GitHub
commit 61f875cbba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.