Skip to content

Commit

Permalink
Make BufferMappedRange trait WasmNotSendSync
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Dec 3, 2023
1 parent 1823f8b commit be068df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4103,7 +4103,7 @@ pub trait QueueWriteBuffer: WasmNotSendSync {
fn as_any(&self) -> &dyn Any;
}

pub trait BufferMappedRange: Debug {
pub trait BufferMappedRange: WasmNotSendSync + Debug {
fn slice(&self) -> &[u8];
fn slice_mut(&mut self) -> &mut [u8];
}
Expand Down

0 comments on commit be068df

Please sign in to comment.