rust/src/libsyntax/attr
Nicholas Nethercote 5c93492da9 Remove the Option in TokenStream.
It means an allocation is required to create an empty `TokenStream`, but
all other operations are simpler and marginally faster due to not having
to check for `None`. Overall it simplifies the code for a negligible
performance effect.

The commit also removes `TokenStream::empty` by implementing `Default`,
which is now possible.
2019-10-14 09:14:39 +11:00
..
builtin.rs Rename MetaItem.node to MetaItem.kind 2019-09-26 18:21:48 +01:00
mod.rs Remove the Option in TokenStream. 2019-10-14 09:14:39 +11:00