1
Fork 0

Rollup merge of #76504 - Flying-Toast:master, r=lcnr

Capitalize safety comments
This commit is contained in:
Tyler Mandry 2020-09-09 15:06:00 -07:00 committed by GitHub
commit c18fa460a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 42 additions and 42 deletions

View file

@ -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 {