diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2020-09-09 15:06:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-09 15:06:00 -0700 |
| commit | c18fa460a41066fee1489b725425e8d0eb8e8f0c (patch) | |
| tree | c6db215addf5f1f617947588904014e1f76bc76d /compiler/rustc_data_structures/src | |
| parent | 342b40628542a5a505e4ac0a8e747edad99a2081 (diff) | |
| parent | 2799aec6ab4ae35f1a2064f941a9f2a270953b63 (diff) | |
| download | rust-c18fa460a41066fee1489b725425e8d0eb8e8f0c.tar.gz rust-c18fa460a41066fee1489b725425e8d0eb8e8f0c.zip | |
Rollup merge of #76504 - Flying-Toast:master, r=lcnr
Capitalize safety comments
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/temp_dir.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/temp_dir.rs b/compiler/rustc_data_structures/src/temp_dir.rs index 0d9b3e3ca25..a780d2386a6 100644 --- a/compiler/rustc_data_structures/src/temp_dir.rs +++ b/compiler/rustc_data_structures/src/temp_dir.rs @@ -12,7 +12,7 @@ pub struct MaybeTempDir { impl Drop for MaybeTempDir { fn drop(&mut self) { - // Safety: We are in the destructor, and no further access will + // SAFETY: We are in the destructor, and no further access will // occur. let dir = unsafe { ManuallyDrop::take(&mut self.dir) }; if self.keep { |
