diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-02-25 16:06:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-25 16:06:21 -0500 |
| commit | befa2dffdafe77fdd344690558f1334e721b42db (patch) | |
| tree | 0061636d949683d72fa90bc55212c68f29325280 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 503d50b94cb7864d126131a538913f8ab83bd6bc (diff) | |
| parent | eefec8abda7cb8e8693aa876fbd1e21f2a6a5c2d (diff) | |
| download | rust-befa2dffdafe77fdd344690558f1334e721b42db.tar.gz rust-befa2dffdafe77fdd344690558f1334e721b42db.zip | |
Rollup merge of #82467 - ojeda:tidy-normalize-safety-comments, r=kennytm
library: Normalize safety-for-unsafe-block comments Almost all safety comments are of the form `// SAFETY:`, so normalize the rest and fix a few of them that should have been a `/// # Safety` section instead. Furthermore, make `tidy` only allow the uppercase form. While currently `tidy` only checks `core`, it is a good idea to prevent `core` from drifting to non-uppercase comments, so that later we can start checking `alloc` etc. too. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
