Skip to content

Commit fbff6b6

Browse files
author
“thucydides”
committed
fix: Resolve syntax error in storage.rs
1 parent bff7bce commit fbff6b6

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

rustorch-core/src/storage.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ impl Storage {
124124
#[cfg(feature = "vulkan_backend")]
125125
StorageImpl::Vulkan(buf) => buf.len() as usize,
126126
}
127-
}#[cfg(feature = "wgpu_backend")]
128-
StorageImpl::Wgpu(_, size) => *size,
129-
#[cfg(feature = "vulkan_backend")]
130-
StorageImpl::Vulkan(buf) => buf.len() as usize,
131-
}
132127
}
133128

134129
pub fn is_empty(&self) -> bool {

0 commit comments

Comments
 (0)