diff --git a/rust/src/cells/mod.rs b/rust/src/cells/mod.rs index 57c39fbdc..4e14fa721 100644 --- a/rust/src/cells/mod.rs +++ b/rust/src/cells/mod.rs @@ -347,9 +347,9 @@ impl NcStyleMethods for NcStyle { NCSTYLE_BLINK, NCSTYLE_NONE, ]; - for s in styles { - if self.has(s) { - v.push(s) + for s in &styles { + if self.has(*s) { + v.push(*s) } } v