mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
Remove a space after a colon of metavariable def in macro def
This commit is contained in:
+1
-1
@@ -568,7 +568,7 @@ fn rewrite(
|
||||
|
||||
match *self {
|
||||
MacroArgKind::MetaVariable(ty, ref name) => {
|
||||
Some(format!("${}: {}", name, ty.name.as_str()))
|
||||
Some(format!("${}:{}", name, ty.name.as_str()))
|
||||
}
|
||||
MacroArgKind::Repeat(ref delim_tok, ref args, ref another, ref tok) => {
|
||||
let (lhs, inner, rhs) = rewrite_delimited_inner(delim_tok, args)?;
|
||||
|
||||
Reference in New Issue
Block a user