clippy suggestions

This commit is contained in:
Lauri Räsänen 2023-01-28 14:11:54 +02:00
parent c1148ea8bc
commit 8c51f91d00
9 changed files with 33 additions and 77 deletions

View file

@ -57,7 +57,7 @@ impl Material {
label: None,
});
return Self {
Self {
name: String::from(name),
diffuse_texture,
normal_texture,
@ -65,7 +65,7 @@ impl Material {
metallic_factor,
roughness_factor,
bind_group,
};
}
}
}