Skip to content

Commit 76e7657

Browse files
committed
Don't derive Default
1 parent dfbaa68 commit 76e7657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub mod access;
4040
/// to `ReadWrite`, which allows all operations.
4141
///
4242
/// The size of this struct is the same as the size of the contained reference.
43-
#[derive(Default, Clone)]
43+
#[derive(Clone)]
4444
#[repr(transparent)]
4545
pub struct Volatile<R, A = ReadWrite> {
4646
reference: R,

0 commit comments

Comments
 (0)