From 5360fe6a337145b2640ec1e5727c97fd9bbeacd9 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:24 +0100 Subject: refactor(all): small fixes --- stockton-skeleton/src/mem.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'stockton-skeleton/src/mem.rs') diff --git a/stockton-skeleton/src/mem.rs b/stockton-skeleton/src/mem.rs index af0a42b..85bf295 100644 --- a/stockton-skeleton/src/mem.rs +++ b/stockton-skeleton/src/mem.rs @@ -92,15 +92,15 @@ mod rendy { /// So we can use rendy blocks as our blocks impl> Block for T { fn properties(&self) -> Properties { - >::properties(&self) + >::properties(self) } fn memory(&self) -> &MemoryT { - >::memory(&self) + >::memory(self) } fn range(&self) -> Range { - >::range(&self) + >::range(self) } } @@ -359,7 +359,8 @@ mod rendy { } fn unmap(&mut self, device: &mut DeviceT) -> Result<()> { - Ok(self.0.unmap(device)) + self.0.unmap(device); + Ok(()) } } } -- cgit v1.2.3