diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-04 10:03:08 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-04 10:03:08 +0300 |
commit | b8ca85eb61a362fd95bbc6c5354d881032da12c4 (patch) | |
tree | f6144aa5a3015b6719198d7800205f380088ca33 /src/status.rs | |
parent | ba9b4d27d1ba6489b0be9c97a0ebb7739bc8f635 (diff) | |
download | roadmap-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.rs | 2 |
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, |