Skip to content

Commit ed26baf

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ast/src/tokenstream.rs

+1-1
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)