Skip to content

Commit 2d9f64d

Browse files
authored
fix derives for WriteOnly (#12)
1 parent 0f6be4f commit 2d9f64d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ impl<T: Copy> ReadOnly<T> {
208208
/// A volatile wrapper which only allows write operations.
209209
///
210210
/// The size of this struct is the same as the contained type.
211-
#[derive(Debug, Clone, Default)]
211+
#[derive(Default)]
212212
pub struct WriteOnly<T: Copy>(Volatile<T>);
213213

214214
impl<T: Copy> WriteOnly<T> {

0 commit comments

Comments
 (0)