Fix typo in TokenStream documentation
This commit is contained in:
parent
5a7a0ac51e
commit
f4a19ca851
@ -178,7 +178,7 @@ impl<CTX> HashStable<CTX> for LazyTokenStream {
|
|||||||
/// The goal is for procedural macros to work with `TokenStream`s and `TokenTree`s
|
/// The goal is for procedural macros to work with `TokenStream`s and `TokenTree`s
|
||||||
/// instead of a representation of the abstract syntax tree.
|
/// instead of a representation of the abstract syntax tree.
|
||||||
/// Today's `TokenTree`s can still contain AST via `token::Interpolated` for
|
/// Today's `TokenTree`s can still contain AST via `token::Interpolated` for
|
||||||
/// backwards compatability.
|
/// backwards compatibility.
|
||||||
#[derive(Clone, Debug, Default, Encodable, Decodable)]
|
#[derive(Clone, Debug, Default, Encodable, Decodable)]
|
||||||
pub struct TokenStream(pub(crate) Lrc<Vec<TreeAndSpacing>>);
|
pub struct TokenStream(pub(crate) Lrc<Vec<TreeAndSpacing>>);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user