about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorFlying-Toast <38232168+Flying-Toast@users.noreply.github.com>2020-09-08 22:37:18 -0400
committerFlying-Toast <38232168+Flying-Toast@users.noreply.github.com>2020-09-08 22:37:18 -0400
commit2799aec6ab4ae35f1a2064f941a9f2a270953b63 (patch)
treef6cb6109703f22c96a20d490270aa84cac6ac402 /compiler
parentc66789d572ab3d950bc187d3bca3bc0042023358 (diff)
downloadrust-2799aec6ab4ae35f1a2064f941a9f2a270953b63.tar.gz
rust-2799aec6ab4ae35f1a2064f941a9f2a270953b63.zip
Capitalize safety comments
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_data_structures/src/temp_dir.rs2
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 {