1
0
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:
Emil Ernerfeldt
2021-03-23 19:53:31 +01:00
parent 25c5e9d94e
commit fd3444473f
10 changed files with 87 additions and 41 deletions

View File

@@ -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) => {