diff options
Diffstat (limited to 'crates/libsyntax2/src/ast/mod.rs')
-rw-r--r-- | crates/libsyntax2/src/ast/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/ast/mod.rs b/crates/libsyntax2/src/ast/mod.rs index 2e1fb2d1c..18a9f5d17 100644 --- a/crates/libsyntax2/src/ast/mod.rs +++ b/crates/libsyntax2/src/ast/mod.rs | |||
@@ -36,7 +36,7 @@ impl<R: TreeRoot> File<R> { | |||
36 | } | 36 | } |
37 | } | 37 | } |
38 | 38 | ||
39 | impl<R: TreeRoot> Function<R> { | 39 | impl<R: TreeRoot> FnDef<R> { |
40 | pub fn has_atom_attr(&self, atom: &str) -> bool { | 40 | pub fn has_atom_attr(&self, atom: &str) -> bool { |
41 | self.syntax() | 41 | self.syntax() |
42 | .children() | 42 | .children() |