Skip to content

Commit 3c76295

Browse files
Added missing Copy derive
1 parent 1b5a0cb commit 3c76295

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ast/ddl.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,7 @@ impl fmt::Display for UserDefinedTypeCompositeAttributeDef {
20872087
/// INTERNALLENGTH = VARIABLE -- Variable length
20882088
/// );
20892089
/// ```
2090-
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
2090+
#[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
20912091
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
20922092
#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]
20932093
pub enum UserDefinedTypeInternalLength {
@@ -2124,7 +2124,7 @@ impl fmt::Display for UserDefinedTypeInternalLength {
21242124
/// ALIGNMENT = int4 -- 4-byte alignment
21252125
/// );
21262126
/// ```
2127-
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
2127+
#[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
21282128
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
21292129
#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]
21302130
pub enum Alignment {
@@ -2168,7 +2168,7 @@ impl fmt::Display for Alignment {
21682168
/// STORAGE = plain
21692169
/// );
21702170
/// ```
2171-
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
2171+
#[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
21722172
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
21732173
#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]
21742174
pub enum UserDefinedTypeStorage {

0 commit comments

Comments
 (0)