diff options
| author | Vadim Chugunov <vadimcn@gmail.com> | 2015-01-23 11:27:16 -0800 |
|---|---|---|
| committer | Vadim Chugunov <vadimcn@gmail.com> | 2015-01-23 18:32:00 -0800 |
| commit | f09c680b4cc9cf9dad5cd0a73ed5dba767b5e925 (patch) | |
| tree | eee4285cf5440223084bf867814a475b7914393a /src | |
| parent | 5c344d3ea8f590739af7ea8b35028a64baf8b296 (diff) | |
| download | rust-f09c680b4cc9cf9dad5cd0a73ed5dba767b5e925.tar.gz rust-f09c680b4cc9cf9dad5cd0a73ed5dba767b5e925.zip | |
Fix tidy.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 2 | ||||
| -rw-r--r-- | src/test/auxiliary/macro_with_super_1.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index dbe4241b8e6..d1cd7631c82 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1171,7 +1171,7 @@ impl<'a> State<'a> { } try!(self.print_tt(tt)); // There should be no space between the module name and the following `::` in paths, - // otherwise imported macros get re-parsed from crate metadata incorrectly (issue #20701) + // otherwise imported macros get re-parsed from crate metadata incorrectly (#20701) suppress_space = match tt { &ast::TtToken(_, token::Ident(_, token::ModName)) | &ast::TtToken(_, token::MatchNt(_, _, _, token::ModName)) | diff --git a/src/test/auxiliary/macro_with_super_1.rs b/src/test/auxiliary/macro_with_super_1.rs index ac50be06ef7..fd2e52bb355 100644 --- a/src/test/auxiliary/macro_with_super_1.rs +++ b/src/test/auxiliary/macro_with_super_1.rs @@ -11,7 +11,7 @@ #![crate_type = "lib"] #[macro_export] -macro_rules! declare { +macro_rules! declare { () => ( pub fn aaa() {} |
