Fix clippy lint

This commit is contained in:
Héctor Ramón Jiménez 2023-12-01 16:10:37 +01:00
parent 936d480267
commit 43a7cc2222
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -1196,7 +1196,7 @@ pub fn draw<Renderer>(
if let Some((cursor, color)) = cursor {
renderer.with_translation(Vector::new(-offset, 0.0), |renderer| {
renderer.fill_quad(cursor, color)
renderer.fill_quad(cursor, color);
});
} else {
renderer.with_translation(Vector::ZERO, |_| {});