summaryrefslogtreecommitdiff
path: root/src/chomp/ast/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/chomp/ast/mod.rs')
-rw-r--r--src/chomp/ast/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chomp/ast/mod.rs b/src/chomp/ast/mod.rs
index 110e5c0..9a159e4 100644
--- a/src/chomp/ast/mod.rs
+++ b/src/chomp/ast/mod.rs
@@ -8,7 +8,7 @@ use super::Name;
pub mod error;
pub mod substitute;
-#[derive(Clone, Debug, Default, Eq, PartialEq, Hash)]
+#[derive(Clone, Copy, Debug, Default, Eq, PartialEq, Hash)]
pub struct Epsilon;
pub type Literal = String;
@@ -102,7 +102,7 @@ impl PartialEq for Fix {
impl Eq for Fix {}
-#[derive(Clone, Debug, Eq, Hash, PartialEq)]
+#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub struct Variable {
pub index: usize,
}
@@ -113,7 +113,7 @@ impl Display for Variable {
}
}
-#[derive(Clone, Debug, Eq, Hash, PartialEq)]
+#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub struct Parameter {
pub index: usize,
}