We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f75b92 commit d94cc7cCopy full SHA for d94cc7c
toybox-gfx/src/command_group.rs
@@ -71,7 +71,7 @@ impl<'g> CommandGroupEncoder<'g> {
71
self.group.commands.push(command.into());
72
}
73
74
- pub fn upload(&mut self, data: &impl crate::AsStageableSlice) -> StagedUploadId {
+ pub fn upload(&mut self, data: &(impl crate::AsStageableSlice + ?Sized)) -> StagedUploadId {
75
self.upload_stage.stage_data(data.as_slice())
76
77
0 commit comments