diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-02-15 22:33:21 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-02-15 22:33:21 +0100 |
| commit | fe62bed73b0ef9fe63faa2a56653f3c7fa17f7c2 (patch) | |
| tree | 069c343c652cf8552a242f2c21f46fff504e3a54 | |
| parent | d6238bd8d4fe283968abbf46357c8e56f283b65b (diff) | |
| download | rust-fe62bed73b0ef9fe63faa2a56653f3c7fa17f7c2.tar.gz rust-fe62bed73b0ef9fe63faa2a56653f3c7fa17f7c2.zip | |
print_item_const: remove extraneous space
| -rw-r--r-- | src/librustc_ast_pretty/pprust.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_ast_pretty/pprust.rs b/src/librustc_ast_pretty/pprust.rs index 0eea64dfe73..2f712964a84 100644 --- a/src/librustc_ast_pretty/pprust.rs +++ b/src/librustc_ast_pretty/pprust.rs @@ -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); |
