Skip to content

Commit df490ea

Browse files
committed
chore: Make clippy happy
1 parent 5925243 commit df490ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/anstyle-parse/src/state/definitions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ pub(crate) const fn unpack(delta: u8) -> (State, Action) {
126126
#[inline(always)]
127127
#[cfg(test)]
128128
pub(crate) const fn pack(state: State, action: Action) -> u8 {
129-
(action as u8) << 4 | state as u8
129+
((action as u8) << 4) | state as u8
130130
}
131131

132132
#[cfg(test)]

0 commit comments

Comments
 (0)