summaryrefslogtreecommitdiff
path: root/src/rwlock/write_guard.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2024-05-27 00:33:16 -0400
committerBotahamec <botahamec@outlook.com>2024-05-27 00:33:16 -0400
commit329bb3a2230fd2c26edde116c7dad2f9a37c199d (patch)
tree312a8e9fb8769fce2d8c53e169f09f199f43d5c1 /src/rwlock/write_guard.rs
parentd5496c35c1c62492516baca30043c3cbec1a718c (diff)
Fixed UB pertaining to Box
Diffstat (limited to 'src/rwlock/write_guard.rs')
-rw-r--r--src/rwlock/write_guard.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rwlock/write_guard.rs b/src/rwlock/write_guard.rs
index bbf747a..fa96eb0 100644
--- a/src/rwlock/write_guard.rs
+++ b/src/rwlock/write_guard.rs
@@ -1,3 +1,4 @@
+use std::fmt::{Debug, Display};
use std::marker::PhantomData;
use std::ops::{Deref, DerefMut};