We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b02021 commit d8e2d86Copy full SHA for d8e2d86
library/core/src/ptr/alignment.rs
@@ -241,7 +241,7 @@ impl const Default for Alignment {
241
}
242
243
#[cfg(target_pointer_width = "16")]
244
-#[derive(Clone)]
+#[derive(Copy)]
245
#[derive_const(Clone, PartialEq, Eq)]
246
#[repr(u16)]
247
enum AlignmentEnum {
@@ -264,7 +264,7 @@ enum AlignmentEnum {
264
265
266
#[cfg(target_pointer_width = "32")]
267
268
269
#[repr(u32)]
270
0 commit comments