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/real_mode/display.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/real_mode/display.rs') diff --git a/src/real_mode/display.rs b/src/real_mode/display.rs index 1065255..d82e54e 100644 --- a/src/real_mode/display.rs +++ b/src/real_mode/display.rs @@ -3285,6 +3285,8 @@ pub enum DisplayStyle { // ATT, } +/// Implementation of [`Display`](fmt::Display) that renders instructions using a specified display +/// style. pub struct InstructionDisplayer<'instr> { pub(crate) instr: &'instr Instruction, pub(crate) style: DisplayStyle, -- cgit v1.1