clippy suggestions
This commit is contained in:
parent
c1148ea8bc
commit
8c51f91d00
9 changed files with 33 additions and 77 deletions
|
@ -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,
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue