Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
fix: move display impls + mod path
Browse files Browse the repository at this point in the history
  • Loading branch information
julio4 committed Jun 10, 2024
1 parent 7f480a3 commit f94e950
Show file tree
Hide file tree
Showing 8 changed files with 303 additions and 306 deletions.
295 changes: 0 additions & 295 deletions src/disassembler/display.rs

This file was deleted.

3 changes: 1 addition & 2 deletions src/disassembler/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
mod decoder;
mod display;
mod error;
mod parser;

pub use decoder::{decode, Disassembler};
pub use self::decoder::{decode, Disassembler};
2 changes: 1 addition & 1 deletion src/disassembler/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use super::error::DisassemblerError;
use crate::x86::{Instruction, Operand, Register, IR};

mod parser_utils;
use parser_utils::*;
use self::parser_utils::*;

/// Parses the given byte slice and returns the parsed instruction along with the number of bytes consumed.
///
Expand Down
2 changes: 1 addition & 1 deletion src/minix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ mod header;
mod program;
mod segment;

pub use program::Program;
pub use self::program::Program;
Loading

0 comments on commit f94e950

Please sign in to comment.