Capitalize safety comments
This commit is contained in:
parent
c66789d572
commit
2799aec6ab
4 changed files with 4 additions and 4 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