From d11b7323a5c5442372450566fe713f94b5e34342 Mon Sep 17 00:00:00 2001 From: i509VCB Date: Sun, 10 Oct 2021 18:09:25 +0000 Subject: 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 --- src/protected_mode/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protected_mode/mod.rs') diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs index 5ad4c44..fef1807 100644 --- a/src/protected_mode/mod.rs +++ b/src/protected_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; -- cgit v1.1