diff options
author | i509VCB <i509vcb@gmail.com> | 2021-10-10 18:09:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 11:09:25 -0700 |
commit | d11b7323a5c5442372450566fe713f94b5e34342 (patch) | |
tree | d16e256f114d837e97551309d86ef09c1b4cfcee /src/real_mode/mod.rs | |
parent | d4620aedb1e085462f82d2a643a20c7de743ea2b (diff) |
export `InstructionDisplayer` (#9)
This makes generated docs refer to a type and show said type in the list of all structs rather than rustdoc showing gray text in return types.
quote doc references
Diffstat (limited to 'src/real_mode/mod.rs')
-rw-r--r-- | src/real_mode/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs index 6eefdad..45dd7a3 100644 --- a/src/real_mode/mod.rs +++ b/src/real_mode/mod.rs @@ -7,7 +7,7 @@ pub mod uarch; pub use crate::MemoryAccessSize; #[cfg(feature = "fmt")] -pub use self::display::DisplayStyle; +pub use self::display::{DisplayStyle, InstructionDisplayer}; use core::cmp::PartialEq; use core::hint::unreachable_unchecked; |