Rollup merge of #76504 - Flying-Toast:master, r=lcnr
Capitalize safety comments
This commit is contained in:
commit
c18fa460a4
19 changed files with 42 additions and 42 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue