mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[rs] Merge #166
166: Reduce Rust requirements for Pin usage r=auto a=kvark That lowers Rust requirement from 1.39 to 1.33 Important, since Ubuntu packages are still on 1.37 Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
This commit is contained in:
@@ -25,7 +25,7 @@ impl<T> Future for GpuFuture<T>
|
||||
|
||||
fn poll(self: Pin<&mut Self>, context: &mut Context) -> Poll<Self::Output> {
|
||||
// grab a clone of the Arc
|
||||
let arc = Arc::clone(&Pin::into_inner(self).inner);
|
||||
let arc = Arc::clone(&self.get_mut().inner);
|
||||
|
||||
// grab the device id and set the waker, but release the lock, so that the native callback can write to it
|
||||
let device_id = {
|
||||
|
||||
Reference in New Issue
Block a user