From 06c3de310e4a9e82c64eb3e537a2b358ea2a6aed Mon Sep 17 00:00:00 2001 From: Evgenii P Date: Tue, 30 Jul 2019 21:02:29 +0700 Subject: rustfmt --- crates/ra_assists/src/flip_comma.rs | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'crates/ra_assists') diff --git a/crates/ra_assists/src/flip_comma.rs b/crates/ra_assists/src/flip_comma.rs index 1b7521e8b..5ee7561bc 100644 --- a/crates/ra_assists/src/flip_comma.rs +++ b/crates/ra_assists/src/flip_comma.rs @@ -49,15 +49,20 @@ mod tests { // See https://github.com/rust-analyzer/rust-analyzer/issues/1619 // "Flip comma" assist shouldn't be applicable to the last comma in enum or struct // declaration body. - check_assist_target(flip_comma, - "pub enum Test { \ - A,<|> \ - }", ","); - - - check_assist_target(flip_comma, - "pub struct Test { \ - foo: usize,<|> \ - }", ","); + check_assist_target( + flip_comma, + "pub enum Test { \ + A,<|> \ + }", + ",", + ); + + check_assist_target( + flip_comma, + "pub struct Test { \ + foo: usize,<|> \ + }", + ",", + ); } } -- cgit v1.2.3