Commit 76db40db authored by Ian P. Cooke's avatar Ian P. Cooke

rustfmt because someone else forgot to.

parent 5f88d43c
Pipeline #86899 passed with stages
in 5 minutes and 51 seconds
......@@ -40,7 +40,7 @@ impl Parse for ast::Item {
res.attrs = attrs;
ast::Item::Class(res)
})
} else if lookahead.peek(Token![impl ]) {
} else if lookahead.peek(Token![impl]) {
input.parse().map(ast::Item::Impl)
} else if lookahead.peek(keywords::interface) {
input.parse().map(|mut res: ast::Interface| {
......@@ -100,7 +100,7 @@ impl Parse for ast::Interface {
impl Parse for ast::Impl {
fn parse(input: ParseStream<'_>) -> Result<Self> {
input.parse::<Token![impl ]>()?;
input.parse::<Token![impl]>()?;
let trait_ = if input.peek2(Token![for]) {
let trait_ = input.parse()?;
input.parse::<Token![for]>()?;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment