chore: clippy
This commit is contained in:
parent
3b70bc0265
commit
0847247c33
77 changed files with 865 additions and 1029 deletions
|
|
@ -134,7 +134,7 @@ where
|
|||
R::TextureId: Clone + 'static,
|
||||
{
|
||||
let scale = scale.into();
|
||||
let h = with_states(&surface, |states| {
|
||||
let h = with_states(surface, |states| {
|
||||
states
|
||||
.data_map
|
||||
.get::<Mutex<CursorImageAttributes>>()
|
||||
|
|
@ -169,7 +169,7 @@ where
|
|||
R: Renderer + ImportAll,
|
||||
R::TextureId: Clone + 'static,
|
||||
{
|
||||
if get_role(&surface) != Some("dnd_icon") {
|
||||
if get_role(surface) != Some("dnd_icon") {
|
||||
warn!(
|
||||
?surface,
|
||||
"Trying to display as a dnd icon a surface that does not have the DndIcon role."
|
||||
|
|
@ -320,7 +320,7 @@ where
|
|||
MemoryRenderBufferRenderElement::from_buffer(
|
||||
renderer,
|
||||
location.to_physical(scale),
|
||||
&pointer_image,
|
||||
pointer_image,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue