Skip to content

Commit

Permalink
mutation obj
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodesdev committed Jun 8, 2024
1 parent 1e4d75d commit a245928
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/syntest/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
mod func;
mod mac;
mod mutation;
mod syntest;
mod var;

Expand Down
13 changes: 13 additions & 0 deletions crates/syntest/src/mutation.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
use crate::Value;

#[derive(Debug, PartialEq)]
pub struct Mutation {
from: Value,
to: Value,
}

impl Mutation {
pub fn new(from: Value, to: Value) -> Self {
Self { from, to }
}
}

0 comments on commit a245928

Please sign in to comment.