mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Fix existing syntactics nits.
This commit is contained in:
parent
7f935f010b
commit
8bb853f643
93 changed files with 393 additions and 397 deletions
|
@ -51,7 +51,7 @@ fn expand_cased<'cx, T>(cx: &'cx mut ExtCtxt, sp: Span, tts: &[ast::TokenTree],
|
|||
}
|
||||
(_, rest) => {
|
||||
if rest > 0 {
|
||||
cx.span_err(sp, &format!("expected 1 argument, found {}", rest+1));
|
||||
cx.span_err(sp, &format!("expected 1 argument, found {}", rest + 1));
|
||||
}
|
||||
base::DummyResult::expr(sp)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue