aboutsummaryrefslogtreecommitdiff
path: root/src/protected_mode/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/protected_mode/display.rs')
-rw-r--r--src/protected_mode/display.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protected_mode/display.rs b/src/protected_mode/display.rs
index dac3684..0a8f775 100644
--- a/src/protected_mode/display.rs
+++ b/src/protected_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,