Remove a space after a colon of metavariable def in macro def
This commit is contained in:
parent
5516223900
commit
6115dcdbdc
@ -568,7 +568,7 @@ impl MacroArgKind {
|
||||
|
||||
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)?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user