all: fix clippy warnings
This commit is contained in:
parent
70912b47e4
commit
64664ca76e
5 changed files with 6 additions and 9 deletions
|
|
@ -117,7 +117,7 @@ impl ClientMem {
|
|||
}
|
||||
|
||||
pub fn len(&self) -> usize {
|
||||
unsafe { (*self.data).len() }
|
||||
self.data.len()
|
||||
}
|
||||
|
||||
pub fn offset(self: &Rc<Self>, offset: usize) -> ClientMemOffset {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue