diff options
author | Aleksey Kladov <[email protected]> | 2021-05-14 16:47:08 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-05-14 16:47:08 +0100 |
commit | cea589b3b52ff5c4e358db52dc6de150eb48a9a0 (patch) | |
tree | 99c4c1e83bfd743ac3b30eb43c4a37b00484ea14 /crates/syntax/src/ast/make.rs | |
parent | 73123a7550a667ebc42be96651a8e36be482a828 (diff) |
internal: rewrite assoc item manipulaion to use mutable trees
Diffstat (limited to 'crates/syntax/src/ast/make.rs')
-rw-r--r-- | crates/syntax/src/ast/make.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/ast/make.rs b/crates/syntax/src/ast/make.rs index de04c8620..d13926ded 100644 --- a/crates/syntax/src/ast/make.rs +++ b/crates/syntax/src/ast/make.rs | |||
@@ -99,7 +99,7 @@ fn ty_from_text(text: &str) -> ast::Type { | |||
99 | } | 99 | } |
100 | 100 | ||
101 | pub fn assoc_item_list() -> ast::AssocItemList { | 101 | pub fn assoc_item_list() -> ast::AssocItemList { |
102 | ast_from_text("impl C for D {};") | 102 | ast_from_text("impl C for D {}") |
103 | } | 103 | } |
104 | 104 | ||
105 | pub fn impl_trait(trait_: ast::Path, ty: ast::Path) -> ast::Impl { | 105 | pub fn impl_trait(trait_: ast::Path, ty: ast::Path) -> ast::Impl { |