We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 194363c commit 1e46dd8Copy full SHA for 1e46dd8
1 file changed
rust/extractor/src/translate/mappings.rs
@@ -63,37 +63,3 @@ impl TextValue for ast::RangePat {
63
self.op_token().map(|x| x.text().to_string())
64
}
65
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
79
80
81
82
83
-impl PathAst for ast::PathPat {
84
85
86
87
88
89
-impl PathAst for ast::RecordPat {
90
91
92
93
94
95
-impl PathAst for ast::TupleStructPat {
96
97
98
99
0 commit comments