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 @@ -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
You can’t perform that action at this time.
0 commit comments