diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-30 13:12:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-30 13:12:34 +0100 |
| commit | e810487b4de6e5122b802fea03f4b10c79d32467 (patch) | |
| tree | c8e593f5330c24499b0093e4e7268c39f708c1c8 /src/librustdoc/html/static/js/source-script.js | |
| parent | b9f7197ab35f79b4df1f60104b9d8af9e77bb566 (diff) | |
| parent | b62163515ad109dad05985b958c98a001dbcd89b (diff) | |
| download | rust-e810487b4de6e5122b802fea03f4b10c79d32467.tar.gz rust-e810487b4de6e5122b802fea03f4b10c79d32467.zip | |
Rollup merge of #92414 - dtolnay:constnoexpr, r=oli-obk
Fix spacing of pretty printed const item without body
Follow-up to #92238 fixing one of the FIXMEs.
```rust
macro_rules! repro {
($item:item) => {
stringify!($item)
};
}
fn main() {
println!("{}", repro!(extern "C" { static S: i32; }));
}
```
Before: `extern "C" { static S: i32 ; }`
After: `extern "C" { static S: i32; }`
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions
