This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_expand/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments