Skip to content

Commit 6115dcd

Browse files
committed
Remove a space after a colon of metavariable def in macro def
1 parent 5516223 commit 6115dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ impl MacroArgKind {
568568

569569
match *self {
570570
MacroArgKind::MetaVariable(ty, ref name) => {
571-
Some(format!("${}: {}", name, ty.name.as_str()))
571+
Some(format!("${}:{}", name, ty.name.as_str()))
572572
}
573573
MacroArgKind::Repeat(ref delim_tok, ref args, ref another, ref tok) => {
574574
let (lhs, inner, rhs) = rewrite_delimited_inner(delim_tok, args)?;

0 commit comments

Comments
 (0)