diff options
author | Aleksey Kladov <[email protected]> | 2018-08-13 16:36:16 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-13 16:36:16 +0100 |
commit | c146331b1c92c3a6d58217b61f95e69155a3a4f8 (patch) | |
tree | eb8c37068ed82ac04abde7bc021a6e44fd53b1a2 /crates/libsyntax2/src/ast/mod.rs | |
parent | 1d95f34e9a1b2b7cebf44e38238b50a693d3394b (diff) |
rename
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() |