From 552a9b3a5732b2d9a527e8ead3e5a72c2cb1f4a1 Mon Sep 17 00:00:00 2001 From: Tom Dohrmann Date: Wed, 29 Jul 2020 11:53:53 +0200 Subject: [PATCH] fix derives for WriteOnly --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 889db9e..303478e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -208,7 +208,7 @@ impl ReadOnly { /// A volatile wrapper which only allows write operations. /// /// The size of this struct is the same as the contained type. -#[derive(Debug, Clone, Default)] +#[derive(Default)] pub struct WriteOnly(Volatile); impl WriteOnly {