Re-run rustfmt

This commit is contained in:
Jonas Platte 2019-07-25 22:42:47 +02:00
parent 8f3b141db5
commit 53cf6c562d

View File

@ -22,10 +22,8 @@ impl Meta {
segments, segments,
} => { } => {
if segments.len() == 1 && segments[0].ident == "ruma_api" { if segments.len() == 1 && segments[0].ident == "ruma_api" {
Ok( Ok(syn::parse2(attr.tts)
syn::parse2(attr.tts) .expect("ruma_api! could not parse request field attributes"))
.expect("ruma_api! could not parse request field attributes"),
)
} else { } else {
Err(attr) Err(attr)
} }