Make AssocOp Copy
This commit is contained in:
parent
62878c20e9
commit
2792014ef4
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue