From a5b6a2bb16e47686b260f6c91f0eed06538e586b Mon Sep 17 00:00:00 2001 From: iximeow Date: Wed, 5 Feb 2020 23:44:20 -0800 Subject: bump yaxpeax-arch version and fix warnings --- test/test.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test.rs b/test/test.rs index 45ec234..431a349 100644 --- a/test/test.rs +++ b/test/test.rs @@ -1,9 +1,10 @@ extern crate yaxpeax_arch; extern crate yaxpeax_mips; -use yaxpeax_arch::{Arch, Decoder, LengthedInstruction}; -use yaxpeax_mips::{MIPS, Instruction, Opcode}; +use yaxpeax_arch::{Arch, Decoder}; +use yaxpeax_mips::{MIPS, Instruction}; //, Opcode}; +#[allow(dead_code)] fn test_decode(data: [u8; 4], expected: Instruction) { let instr = ::Decoder::default().decode(data.to_vec()).unwrap(); assert!( -- cgit v1.1