linebender / druid

A data-first Rust-native UI design toolkit.
https://linebender.org/druid/
Apache License 2.0
9.53k stars 568 forks source link

Fix clippy lints from 1.66 #2303

Closed PoignardAzur closed 1 year ago

PoignardAzur commented 1 year ago

Ugh. The PR fails CI test because it mentions a lint that doesn't exist yet. I think the simplest solution is to keep that PR in reserve and retry CI when the next Rust version comes out.

jneem commented 1 year ago

Yes, I encountered this in #2290. Also, be careful with the clamp lint, because following clippy's advice there can introduce panics.

xStrom commented 1 year ago

As this is blocking some other issues I took the initiative to get this done in #2317.