Closed Berrysoft closed 1 year ago
Well spotted, thanks for reporting. That's indeed not necessary - likely a leftover when it wasn't a reference. I'll push a fix quickly :)
By the way, clippy reports tons of warnings on slint code:) I usually replaces cargo check by cargo clippy in VS Code, so that I can get suggestions frequently, and that's why I see the errors reported by clippy.
Yes, we haven't been using clippy much so far. See also https://github.com/slint-ui/slint/issues/1874
When clippy reports an error, it's usually some code that works unexpectedly or doesn't work. Just confused, because I don't understand what's this line for: https://github.com/slint-ui/slint/blob/b1073b2ee37f6c807388373526ee486f2d44a351/internal/renderers/skia/d3d_surface.rs#L165
The error message of clippy:
By the way, clippy reports tons of warnings on slint code:) I usually replaces
cargo check
bycargo clippy
in VS Code, so that I can get suggestions frequently, and that's why I see the errors reported by clippy.