mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
fix lint
This commit is contained in:
parent
da849115b5
commit
a1bfbbbfab
@ -271,7 +271,7 @@ impl crate::Surface<super::Api> for super::Surface {
|
||||
if let Some(drawable) = render_layer.next_drawable() {
|
||||
Ok((drawable.to_owned(), drawable.texture().to_owned()))
|
||||
} else {
|
||||
return Err(crate::SurfaceError::Other("failed to allocate drawable due to metal resource exhaustion"));
|
||||
Err(crate::SurfaceError::Other("failed to allocate drawable due to metal resource exhaustion"))
|
||||
}
|
||||
})?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user