Verified Commit ac7c79e3 authored by Jordan Petridis's avatar Jordan Petridis 🌱

clippy: remove 'redundant_closure'

parent d110aa4b
......@@ -93,7 +93,7 @@ impl PaintServer {
input
.try(|i| cssparser::Color::parse(i))
.ok()
.map(|i| Color::from(i))
.map(Color::from)
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment