Skip to content

Commit 2792014

Browse files
committed
Make AssocOp Copy
1 parent 62878c2 commit 2792014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_ast/util/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use rustc_span::symbol::kw;
55
/// Associative operator with precedence.
66
///
77
/// This is the enum which specifies operator precedence and fixity to the parser.
8-
#[derive(PartialEq, Debug)]
8+
#[derive(Copy, Clone, PartialEq, Debug)]
99
pub enum AssocOp {
1010
/// `+`
1111
Add,

0 commit comments

Comments
 (0)