print_item_const: remove extraneous space
This commit is contained in:
parent
d6238bd8d4
commit
fe62bed73b
1 changed files with 3 additions and 3 deletions
|
@ -1067,9 +1067,9 @@ impl<'a> State<'a> {
|
|||
vis: &ast::Visibility,
|
||||
) {
|
||||
let leading = match mutbl {
|
||||
None => "const ",
|
||||
Some(ast::Mutability::Not) => "static ",
|
||||
Some(ast::Mutability::Mut) => "static mut ",
|
||||
None => "const",
|
||||
Some(ast::Mutability::Not) => "static",
|
||||
Some(ast::Mutability::Mut) => "static mut",
|
||||
};
|
||||
self.head(visibility_qualified(vis, leading));
|
||||
self.print_ident(ident);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue