Skip to content

Commit d39b990

Browse files
committed
Appease clippy
1 parent 1ed54b0 commit d39b990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples/drm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ mod imple {
158158
}
159159

160160
let color = scale.eval_continuous(i);
161-
let pixel = (color.r as u32) << 16 | (color.g as u32) << 8 | (color.b as u32);
161+
let pixel = ((color.r as u32) << 16) | ((color.g as u32) << 8) | (color.b as u32);
162162
buf.fill(pixel);
163163
}
164164

0 commit comments

Comments
 (0)