Skip to content

Commit b271b17

Browse files
committed
feat: update version to 0.3.2 and add preper_read_all method to DSlice
1 parent 91dcb36 commit b271b17

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords = ["os", "dma"]
77
license = "MIT"
88
name = "dma-api"
99
repository = "https://github.com/drivercraft/dma-api"
10-
version = "0.3.1"
10+
version = "0.3.2"
1111

1212
[features]
1313
alloc = []

src/dma/slice.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ impl<T> DSlice<'_, T> {
2424
pub fn is_empty(&self) -> bool {
2525
self.len() == 0
2626
}
27+
28+
pub fn preper_read_all(&self) {
29+
self.inner.preper_read_all();
30+
}
2731
}
2832

2933
impl<'a, T> From<&'a [T]> for DSlice<'a, T> {

0 commit comments

Comments
 (0)