summaryrefslogtreecommitdiff
path: root/src/status.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-10-04 10:03:08 +0300
committerLars Wirzenius <liw@liw.fi>2019-10-04 10:03:08 +0300
commitb8ca85eb61a362fd95bbc6c5354d881032da12c4 (patch)
treef6144aa5a3015b6719198d7800205f380088ca33 /src/status.rs
parentba9b4d27d1ba6489b0be9c97a0ebb7739bc8f635 (diff)
downloadroadmap-b8ca85eb61a362fd95bbc6c5354d881032da12c4.tar.gz
Change: make Status copiable, don't pass references
Status is very small, so copying it is just easier than dealing with references.
Diffstat (limited to 'src/status.rs')
-rw-r--r--src/status.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/status.rs b/src/status.rs
index e6bac17..2edfbd1 100644
--- a/src/status.rs
+++ b/src/status.rs
@@ -5,7 +5,7 @@
/// example, a step is inferred to be blocked if any of it
/// dependencies are not finished.
-#[derive(Clone, Debug, PartialEq)]
+#[derive(Clone, Copy, Debug, PartialEq)]
pub enum Status {
Unknown,
Goal,