File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
super_native_extensions/rust/src Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ impl PlatformDragContext {
7676 let a = image. data [ pos + 3 ] as i32 ;
7777 // Contrary to what ARGB_8888 documentation says the colors are
7878 // indeed encoded in ARGB order.
79- let color = ( a & 0xff ) << 24 | ( r & 0xff ) << 16 | ( g & 0xff ) << 8 | ( b & 0xff ) ;
79+ let color =
80+ ( ( a & 0xff ) << 24 ) | ( ( r & 0xff ) << 16 ) | ( ( g & 0xff ) << 8 ) | ( b & 0xff ) ;
8081 tmp[ y * image. width as usize + x] = color;
8182 }
8283 }
Original file line number Diff line number Diff line change 99#![ allow( dead_code) ]
1010// TODO(knopp): Remove once supported on stable
1111#![ allow( clippy:: needless_lifetimes) ]
12+ // TODO(knopp): False positive in 1.83.0.
13+ #![ allow( clippy:: missing_const_for_thread_local) ]
1214
1315use std:: ffi:: c_void;
1416
You can’t perform that action at this time.
0 commit comments