Skip to content

Commit 5f47651

Browse files
committed
fix
1 parent 04d0829 commit 5f47651

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wgpu/src/backend/webgpu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ impl ContextWebGpu {
11261126
.dyn_into()
11271127
.map_err(|_| crate::CreateSurfaceError {
11281128
inner: crate::CreateSurfaceErrorKind::Web(
1129-
"canvas.getContext() failed: This is likely because WebGPU is disabled in this browser.".to_owned(),
1129+
"canvas.getContext() failed: This is likely because WebGPU is disabled in this browser.".into(),
11301130
),
11311131
})?;
11321132

0 commit comments

Comments
 (0)