Skip to content

Commit 3e7bab4

Browse files
Allocation was incorrectly marked as Clone (#98)
1 parent 70060c4 commit 3e7bab4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/d3d12/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ pub struct AllocatorCreateDesc {
159159
pub debug_settings: AllocatorDebugSettings,
160160
}
161161

162-
#[derive(Clone, Debug)]
162+
#[derive(Debug)]
163163
pub struct Allocation {
164164
chunk_id: Option<std::num::NonZeroU64>,
165165
offset: u64,

src/vulkan/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub struct AllocatorCreateDesc {
3333
pub buffer_device_address: bool,
3434
}
3535

36-
#[derive(Clone, Debug)]
36+
#[derive(Debug)]
3737
pub struct Allocation {
3838
chunk_id: Option<std::num::NonZeroU64>,
3939
offset: u64,

0 commit comments

Comments
 (0)