Skip to content

Commit

Permalink
Merge pull request #2 from Elabajaba/arc-release-mode-fix
Browse files Browse the repository at this point in the history
string::new doesn't take any arguments
  • Loading branch information
gents83 committed Apr 2, 2023
2 parents c7e1c54 + 17b8e71 commit 60d3070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wgpu-core/src/binding_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ impl<A: HalApi> Resource<BindGroupLayoutId> for BindGroupLayout<A> {
#[cfg(debug_assertions)]
return self.label.clone();
#[cfg(not(debug_assertions))]
return String::new("");
return String::new();
}
}

Expand Down
2 changes: 1 addition & 1 deletion wgpu-core/src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl<A: HalApi> Resource<ShaderModuleId> for ShaderModule<A> {
#[cfg(debug_assertions)]
return self.label.clone();
#[cfg(not(debug_assertions))]
return String::new("");
return String::new();
}
}

Expand Down

0 comments on commit 60d3070

Please sign in to comment.