aboutsummaryrefslogtreecommitdiff
path: root/src/real_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-23 15:40:43 -0700
committeriximeow <me@iximeow.net>2024-06-23 15:40:43 -0700
commit0a5e9484d091ee9093d98d961896b81b52ea6e42 (patch)
tree087a4bfb7ca24ec755f73118b4bd340c89dbad4e /src/real_mode/mod.rs
parentbc4abf8d43d39b16dcc4a37b407c37f97f156568 (diff)
cfg_attr wants feature, not features plural
Diffstat (limited to 'src/real_mode/mod.rs')
-rw-r--r--src/real_mode/mod.rs2
1 files changed, 1 insertions, 1 deletions
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];