From 53cf6c562d6ff1aa27ca231ed6170d4e416279e2 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 25 Jul 2019 22:42:47 +0200 Subject: [PATCH] Re-run rustfmt --- src/api/attribute.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/api/attribute.rs b/src/api/attribute.rs index 0e4cf33f..03d3edd8 100644 --- a/src/api/attribute.rs +++ b/src/api/attribute.rs @@ -22,10 +22,8 @@ impl Meta { segments, } => { if segments.len() == 1 && segments[0].ident == "ruma_api" { - Ok( - syn::parse2(attr.tts) - .expect("ruma_api! could not parse request field attributes"), - ) + Ok(syn::parse2(attr.tts) + .expect("ruma_api! could not parse request field attributes")) } else { Err(attr) }