File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -640,7 +640,7 @@ InferType =
640640 '_'
641641
642642FnPtrType =
643- 'const'? 'async'? ' unsafe'? Abi? 'fn' ParamList RetType?
643+ 'unsafe'? Abi? 'fn' ParamList RetType?
644644
645645ForType =
646646 'for' GenericParamList Type
Original file line number Diff line number Diff line change @@ -685,10 +685,6 @@ impl FnPtrType {
685685 #[ inline]
686686 pub fn ret_type ( & self ) -> Option < RetType > { support:: child ( & self . syntax ) }
687687 #[ inline]
688- pub fn async_token ( & self ) -> Option < SyntaxToken > { support:: token ( & self . syntax , T ! [ async ] ) }
689- #[ inline]
690- pub fn const_token ( & self ) -> Option < SyntaxToken > { support:: token ( & self . syntax , T ! [ const ] ) }
691- #[ inline]
692688 pub fn fn_token ( & self ) -> Option < SyntaxToken > { support:: token ( & self . syntax , T ! [ fn ] ) }
693689 #[ inline]
694690 pub fn unsafe_token ( & self ) -> Option < SyntaxToken > { support:: token ( & self . syntax , T ! [ unsafe ] ) }
You can’t perform that action at this time.
0 commit comments