diff options
Diffstat (limited to 'src/undo.rs')
-rw-r--r-- | src/undo.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/undo.rs b/src/undo.rs index 2249fe7..b590312 100644 --- a/src/undo.rs +++ b/src/undo.rs | |||
@@ -1,12 +1,12 @@ | |||
1 | #[derive(Copy, Clone, Debug)] | 1 | #[derive(Copy, Clone, Debug)] |
2 | pub struct ModifyRecord { | 2 | pub struct ModifyRecord { |
3 | pub point: (i32, i32), | 3 | pub point: (u32, u32), |
4 | pub old_val: bool, | 4 | pub old_val: bool, |
5 | pub val: bool, | 5 | pub val: bool, |
6 | } | 6 | } |
7 | 7 | ||
8 | impl ModifyRecord { | 8 | impl ModifyRecord { |
9 | pub fn new(point: (i32, i32), old_val: bool, val: bool) -> Self { | 9 | pub fn new(point: (u32, u32), old_val: bool, val: bool) -> Self { |
10 | ModifyRecord { | 10 | ModifyRecord { |
11 | point, | 11 | point, |
12 | old_val, | 12 | old_val, |