Skip to content

Commit b4616f5

Browse files
authored
Rollup merge of #120118 - kapilsinha:patch-1, r=Nilstrieb
Fix typo in documentation in base.rs
2 parents e35dfed + 1a34342 commit b4616f5

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
@@ -664,8 +664,8 @@ pub enum SyntaxExtensionKind {
664664
/// A token-based attribute macro.
665665
Attr(
666666
/// An expander with signature (TokenStream, TokenStream) -> TokenStream.
667-
/// The first TokenSteam is the attribute itself, the second is the annotated item.
668-
/// The produced TokenSteam replaces the input TokenSteam.
667+
/// The first TokenStream is the attribute itself, the second is the annotated item.
668+
/// The produced TokenStream replaces the input TokenStream.
669669
Box<dyn AttrProcMacro + sync::DynSync + sync::DynSend>,
670670
),
671671

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

0 commit comments

Comments
 (0)