aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-01-18 14:32:13 -0800
committeriximeow <me@iximeow.net>2020-01-18 14:32:13 -0800
commit133ad889eb093018606a6986c5eb0aa20441c40f (patch)
tree3a8277a651258aad8c9d033a26343940160a06d1
parent40436975204fe296d30362e624e805ade97b4a1b (diff)
make NoContext pub
-rw-r--r--src/armv8/a64.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armv8/a64.rs b/src/armv8/a64.rs
index c32c9d3..30992b2 100644
--- a/src/armv8/a64.rs
+++ b/src/armv8/a64.rs
@@ -154,7 +154,7 @@ impl yaxpeax_arch::Instruction for Instruction {
fn well_defined(&self) -> bool { true }
}
-struct NoContext;
+pub struct NoContext;
impl <T: fmt::Write, Color: fmt::Display, Y: YaxColors<Color>> ShowContextual<u64, NoContext, Color, T, Y> for Instruction {
fn contextualize(&self, _colors: &Y, _address: u64, _context: Option<&NoContext>, out: &mut T) -> fmt::Result {