We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04d0829 commit 5f47651Copy full SHA for 5f47651
1 file changed
wgpu/src/backend/webgpu.rs
@@ -1126,7 +1126,7 @@ impl ContextWebGpu {
1126
.dyn_into()
1127
.map_err(|_| crate::CreateSurfaceError {
1128
inner: crate::CreateSurfaceErrorKind::Web(
1129
- "canvas.getContext() failed: This is likely because WebGPU is disabled in this browser.".to_owned(),
+ "canvas.getContext() failed: This is likely because WebGPU is disabled in this browser.".into(),
1130
),
1131
})?;
1132
0 commit comments