From fb7d74d497eb829718e161db13435e2b1b074594 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 29 Dec 2024 09:15:44 -0500 Subject: [PATCH] Fix `clippy::precedence` lint --- vello_encoding/src/draw.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vello_encoding/src/draw.rs b/vello_encoding/src/draw.rs index 90304ff9..37f6766a 100644 --- a/vello_encoding/src/draw.rs +++ b/vello_encoding/src/draw.rs @@ -196,7 +196,7 @@ impl DrawBeginClip { /// Creates new clip draw data. pub fn new(blend_mode: BlendMode, alpha: f32) -> Self { Self { - blend_mode: (blend_mode.mix as u32) << 8 | blend_mode.compose as u32, + blend_mode: ((blend_mode.mix as u32) << 8) | blend_mode.compose as u32, alpha, } }