aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/long_mode/mod.rs2
-rw-r--r--src/protected_mode/mod.rs2
-rw-r--r--src/real_mode/mod.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 3c25506..114ee6d 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -4429,7 +4429,7 @@ impl Instruction {
/// if the work you expect to do per-operand is very small, constructing an `Operand` and
/// dispatching on tags may be a substantial factor of overall runtime. `visit_operand` can
/// reduce total overhead in such cases.
- #[cfg_attr(features="profiling", inline(never))]
+ #[cfg_attr(feature="profiling", inline(never))]
fn visit_operand<T: OperandVisitor>(&self, i: u8, visitor: &mut T) -> Result<T::Ok, T::Error> {
assert!(i < 4);
let spec = self.operands[i as usize];
diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs
index 6d9031a..ff96a03 100644
--- a/src/protected_mode/mod.rs
+++ b/src/protected_mode/mod.rs
@@ -4343,7 +4343,7 @@ impl Instruction {
/// if the work you expect to do per-operand is very small, constructing an `Operand` and
/// dispatching on tags may be a substantial factor of overall runtime. `visit_operand` can
/// reduce total overhead in such cases.
- #[cfg_attr(features="profiling", inline(never))]
+ #[cfg_attr(feature="profiling", inline(never))]
fn visit_operand<T: OperandVisitor>(&self, i: u8, visitor: &mut T) -> Result<T::Ok, T::Error> {
assert!(i < 4);
let spec = self.operands[i as usize];
diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs
index 162b380..018b5f6 100644
--- a/src/real_mode/mod.rs
+++ b/src/real_mode/mod.rs
@@ -4343,7 +4343,7 @@ impl Instruction {
/// if the work you expect to do per-operand is very small, constructing an `Operand` and
/// dispatching on tags may be a substantial factor of overall runtime. `visit_operand` can
/// reduce total overhead in such cases.
- #[cfg_attr(features="profiling", inline(never))]
+ #[cfg_attr(feature="profiling", inline(never))]
fn visit_operand<T: OperandVisitor>(&self, i: u8, visitor: &mut T) -> Result<T::Ok, T::Error> {
assert!(i < 4);
let spec = self.operands[i as usize];