Skip to content

Commit

Permalink
feat: more comprehensive clone for field-less enums (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Mar 24, 2023
1 parent 763b7a3 commit 3ada6b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mapper/assembly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::mapper::variant::{Config as VariantMapperConfig, Mapper as VariantMap
use crate::parser::HgvsVariant;
use crate::{data::interface::Provider, static_data::Assembly, validator::ValidationLevel};

#[derive(Debug, PartialEq, Eq, Default)]
#[derive(Debug, PartialEq, Eq, Default, Clone, Copy)]
pub enum InParAssume {
#[default]
X,
Expand Down
2 changes: 1 addition & 1 deletion src/parser/ds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ impl TryFrom<CdsInterval> for Range<i32> {

/// Specifies whether the CDS position is relative to the CDS start or
/// CDS end.
#[derive(Clone, Debug, PartialEq)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum CdsFrom {
Start,
End,
Expand Down

0 comments on commit 3ada6b2

Please sign in to comment.