Skip to content

Commit 38a8fa8

Browse files
authored
Rollup merge of #83903 - rust-lang:GuillaumeGomez-patch-1, r=lcnr
Fix typo in TokenStream documentation
2 parents 8cee7b7 + f4a19ca commit 38a8fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ast/src/tokenstream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ impl<CTX> HashStable<CTX> for LazyTokenStream {
178178
/// The goal is for procedural macros to work with `TokenStream`s and `TokenTree`s
179179
/// instead of a representation of the abstract syntax tree.
180180
/// Today's `TokenTree`s can still contain AST via `token::Interpolated` for
181-
/// backwards compatability.
181+
/// backwards compatibility.
182182
#[derive(Clone, Debug, Default, Encodable, Decodable)]
183183
pub struct TokenStream(pub(crate) Lrc<Vec<TreeAndSpacing>>);
184184

0 commit comments

Comments
 (0)