diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-23 18:26:24 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-23 18:26:24 +0900 |
| commit | 47042594cb9dee4801c9fc36d378617b8d0c67ad (patch) | |
| tree | 3bd61588594d868b9aed5bcee7cf8e26c1dbed71 /src/test/codegen/src-hash-algorithm | |
| parent | b968738348d8495772bcf4761e3b20ff12c9c08d (diff) | |
| parent | e60072f5c65c619263d137daf9afab9c6cb94c8e (diff) | |
| download | rust-47042594cb9dee4801c9fc36d378617b8d0c67ad.tar.gz rust-47042594cb9dee4801c9fc36d378617b8d0c67ad.zip | |
Rollup merge of #77920 - ayazhafiz:i/mut-ident-spacing, r=jyn514
Avoid extraneous space between visibility kw and ident for statics Today, given a static like `static mut FOO: usize = 1`, rustdoc would emit `static mut FOO: usize = 1`, as it emits both the mutability kw with a space and reserves a space after the mutability kw. This patch fixes that misformatting. This patch also adds some tests for emit of other statics, as I could not find an existing test devoted to statics.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
