diff options
| author | iximeow <me@iximeow.net> | 2020-05-03 14:05:42 -0700 | 
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2020-05-03 14:05:42 -0700 | 
| commit | 7a8b2b5fcb61cca121cd6a69845f7ec436d3495f (patch) | |
| tree | 5a886150e1239f78163fbd1624c2e3989b71b62e /src | |
| parent | 2769f88bc44db456f40fe8bcd0c3f926e65872d5 (diff) | |
version bump, bumping yaxpeax-arch to 0.0.40.0.3
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 8 | 
1 files changed, 4 insertions, 4 deletions
| @@ -8,7 +8,7 @@ extern crate serde;  extern crate yaxpeax_arch;  extern crate termion; -use yaxpeax_arch::{Arch, Colorize, Decoder, LengthedInstruction, ShowContextual, YaxColors}; +use yaxpeax_arch::{Arch, AddressDiff, Colorize, Decoder, LengthedInstruction, ShowContextual, YaxColors};  use std::fmt::{self, Display, Formatter}; @@ -56,13 +56,13 @@ impl Display for Instruction {  }  impl LengthedInstruction for Instruction { -    type Unit = <PIC17 as Arch>::Address; +    type Unit = AddressDiff<<PIC17 as Arch>::Address>;      fn min_size() -> Self::Unit { -        2 +        AddressDiff::from_const(2)      }      fn len(&self) -> Self::Unit {          match self.opcode { -            _ => 2 +            _ => AddressDiff::from_const(2)          }      }  } | 
