From 0a5e9484d091ee9093d98d961896b81b52ea6e42 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 23 Jun 2024 15:40:43 -0700 Subject: cfg_attr wants feature, not features plural --- src/protected_mode/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protected_mode') 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(&self, i: u8, visitor: &mut T) -> Result { assert!(i < 4); let spec = self.operands[i as usize]; -- cgit v1.1