From 59fe884ef5ea2e0939d6a29c64c061569c0690bb Mon Sep 17 00:00:00 2001 From: cynecx Date: Sat, 2 Jan 2021 20:48:39 +0100 Subject: Fix warnings on rust-nightly --- crates/syntax/src/ast/edit.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/syntax/src/ast/edit.rs') diff --git a/crates/syntax/src/ast/edit.rs b/crates/syntax/src/ast/edit.rs index 77233ab31..824ebf41c 100644 --- a/crates/syntax/src/ast/edit.rs +++ b/crates/syntax/src/ast/edit.rs @@ -220,7 +220,7 @@ impl ast::RecordExprFieldList { InsertPosition::After($anchor.syntax().clone().into()) } }; - }; + } let position = match position { InsertPosition::First => after_l_curly!(), @@ -533,7 +533,7 @@ impl ast::GenericParamList { InsertPosition::After($anchor.syntax().clone().into()) } }; - }; + } let position = match self.generic_params().last() { Some(it) => after_field!(it), -- cgit v1.2.3