File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed
Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -63,37 +63,3 @@ impl TextValue for ast::RangePat {
6363 self . op_token ( ) . map ( |x| x. text ( ) . to_string ( ) )
6464 }
6565}
66-
67- pub trait PathAst : AstNode {
68- fn path ( & self ) -> Option < ast:: Path > ;
69- }
70-
71- impl PathAst for ast:: PathExpr {
72- fn path ( & self ) -> Option < ast:: Path > {
73- self . path ( )
74- }
75- }
76-
77- impl PathAst for ast:: RecordExpr {
78- fn path ( & self ) -> Option < ast:: Path > {
79- self . path ( )
80- }
81- }
82-
83- impl PathAst for ast:: PathPat {
84- fn path ( & self ) -> Option < ast:: Path > {
85- self . path ( )
86- }
87- }
88-
89- impl PathAst for ast:: RecordPat {
90- fn path ( & self ) -> Option < ast:: Path > {
91- self . path ( )
92- }
93- }
94-
95- impl PathAst for ast:: TupleStructPat {
96- fn path ( & self ) -> Option < ast:: Path > {
97- self . path ( )
98- }
99- }
You can’t perform that action at this time.
0 commit comments