mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Clippy fixes
This commit is contained in:
@@ -50,6 +50,7 @@ impl eframe::App for MyApp {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::needless_pass_by_value)]
|
||||
fn parse_response(response: ehttp::Response) -> Result<RetainedImage, String> {
|
||||
let content_type = response.content_type().unwrap_or_default();
|
||||
if content_type.starts_with("image/") {
|
||||
|
||||
Reference in New Issue
Block a user