Skip to content

Commit

Permalink
Rollup merge of rust-lang#83903 - rust-lang:GuillaumeGomez-patch-1, r…
Browse files Browse the repository at this point in the history
…=lcnr

Fix typo in TokenStream documentation
  • Loading branch information
Dylan-DPC committed Apr 6, 2021
2 parents df41dc9 + f4a19ca commit ed26baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_ast/src/tokenstream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl<CTX> HashStable<CTX> for LazyTokenStream {
/// The goal is for procedural macros to work with `TokenStream`s and `TokenTree`s
/// instead of a representation of the abstract syntax tree.
/// Today's `TokenTree`s can still contain AST via `token::Interpolated` for
/// backwards compatability.
/// backwards compatibility.
#[derive(Clone, Debug, Default, Encodable, Decodable)]
pub struct TokenStream(pub(crate) Lrc<Vec<TreeAndSpacing>>);

Expand Down

0 comments on commit ed26baf

Please sign in to comment.