mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
Add some clippy lints
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use crate::*;
|
||||
|
||||
pub fn adjust_colors(shape: &mut Shape, adjust_color: &impl Fn(&mut Color32)) {
|
||||
#![allow(clippy::match_same_arms)]
|
||||
match shape {
|
||||
Shape::Noop => {}
|
||||
Shape::Vec(shapes) => {
|
||||
|
||||
Reference in New Issue
Block a user