workspace: move crates under crates
This commit is contained in:
parent
0016bc8cf0
commit
6393fdf3c0
354 changed files with 102 additions and 102 deletions
7
crates/utils/src/unlink_on_drop.rs
Normal file
7
crates/utils/src/unlink_on_drop.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
pub struct UnlinkOnDrop<'a>(pub &'a str);
|
||||
|
||||
impl<'a> Drop for UnlinkOnDrop<'a> {
|
||||
fn drop(&mut self) {
|
||||
let _ = uapi::unlink(self.0);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue