Skip to content

Commit d94cc7c

Browse files
committed
Remove Sized requirement for upload
1 parent 8f75b92 commit d94cc7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toybox-gfx/src/command_group.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl<'g> CommandGroupEncoder<'g> {
7171
self.group.commands.push(command.into());
7272
}
7373

74-
pub fn upload(&mut self, data: &impl crate::AsStageableSlice) -> StagedUploadId {
74+
pub fn upload(&mut self, data: &(impl crate::AsStageableSlice + ?Sized)) -> StagedUploadId {
7575
self.upload_stage.stage_data(data.as_slice())
7676
}
7777

0 commit comments

Comments
 (0)