about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-23 18:26:24 +0900
committerGitHub <noreply@github.com>2020-10-23 18:26:24 +0900
commit47042594cb9dee4801c9fc36d378617b8d0c67ad (patch)
tree3bd61588594d868b9aed5bcee7cf8e26c1dbed71 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentb968738348d8495772bcf4761e3b20ff12c9c08d (diff)
parente60072f5c65c619263d137daf9afab9c6cb94c8e (diff)
downloadrust-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/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions