mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Increase MSRV to 1.67 (#3234)
* Bump MSRV to 1.67 * clippy fixes * cargo clippy: inline format args * Add `clippy::uninlined_format_args` to cranky lints * Fix clippy on wasm * More clippy fixes
This commit is contained in:
@@ -560,7 +560,7 @@ impl Renderer {
|
||||
} else {
|
||||
// allocate a new texture
|
||||
// Use same label for all resources associated with this texture id (no point in retyping the type)
|
||||
let label_str = format!("egui_texid_{:?}", id);
|
||||
let label_str = format!("egui_texid_{id:?}");
|
||||
let label = Some(label_str.as_str());
|
||||
let texture = device.create_texture(&wgpu::TextureDescriptor {
|
||||
label,
|
||||
@@ -904,8 +904,7 @@ fn create_sampler(
|
||||
};
|
||||
device.create_sampler(&wgpu::SamplerDescriptor {
|
||||
label: Some(&format!(
|
||||
"egui sampler (mag: {:?}, min {:?})",
|
||||
mag_filter, min_filter
|
||||
"egui sampler (mag: {mag_filter:?}, min {min_filter:?})"
|
||||
)),
|
||||
mag_filter,
|
||||
min_filter,
|
||||
|
||||
Reference in New Issue
Block a user