mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
make ast::Expr Copy
This commit is contained in:
parent
2827af7e59
commit
f3fc9f450f
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ pub enum StrLiteral<'a> {
|
|||
/// we move on to canonicalization, which often needs to allocate more because
|
||||
/// it's doing things like turning local variables into fully qualified symbols.
|
||||
/// Once canonicalization is done, the arena and the input string get dropped.
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum Expr<'a> {
|
||||
// Number Literals
|
||||
Float(&'a str),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue