Skip to content

Commit

Permalink
Make AssocOp Copy
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Jun 22, 2020
1 parent 62878c2 commit 2792014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_ast/util/parser.rs
Expand Up @@ -5,7 +5,7 @@ use rustc_span::symbol::kw;
/// Associative operator with precedence.
///
/// This is the enum which specifies operator precedence and fixity to the parser.
#[derive(PartialEq, Debug)]
#[derive(Copy, Clone, PartialEq, Debug)]
pub enum AssocOp {
/// `+`
Add,
Expand Down

0 comments on commit 2792014

Please sign in to comment.