Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciubix8513 committed Aug 3, 2024
1 parent 78b15c3 commit dbf1d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendering/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl Base {
///
///Everything rendered with this extension will have that color in the parts not occupied by a mesh.
#[must_use]
pub fn new_with_color(order: u32, color: wgpu::Color) -> Self {
pub const fn new_with_color(order: u32, color: wgpu::Color) -> Self {
Self {
priority: order,
clear_color: color,
Expand Down

0 comments on commit dbf1d31

Please sign in to comment.