Skip to content

Commit 4efc494

Browse files
authored
Unrolled build for rust-lang#120118
Rollup merge of rust-lang#120118 - kapilsinha:patch-1, r=Nilstrieb Fix typo in documentation in base.rs
2 parents 92d7277 + 1a34342 commit 4efc494

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_expand/src/base.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,8 @@ pub enum SyntaxExtensionKind {
666666
/// A token-based attribute macro.
667667
Attr(
668668
/// An expander with signature (TokenStream, TokenStream) -> TokenStream.
669-
/// The first TokenSteam is the attribute itself, the second is the annotated item.
670-
/// The produced TokenSteam replaces the input TokenSteam.
669+
/// The first TokenStream is the attribute itself, the second is the annotated item.
670+
/// The produced TokenStream replaces the input TokenStream.
671671
Box<dyn AttrProcMacro + sync::DynSync + sync::DynSend>,
672672
),
673673

@@ -687,7 +687,7 @@ pub enum SyntaxExtensionKind {
687687
/// A token-based derive macro.
688688
Derive(
689689
/// An expander with signature TokenStream -> TokenStream.
690-
/// The produced TokenSteam is appended to the input TokenSteam.
690+
/// The produced TokenStream is appended to the input TokenStream.
691691
///
692692
/// FIXME: The text above describes how this should work. Currently it
693693
/// is handled identically to `LegacyDerive`. It should be migrated to

0 commit comments

Comments
 (0)