diff --git a/src/buffers.rs b/src/buffers.rs index b17dcd0..35bf116 100644 --- a/src/buffers.rs +++ b/src/buffers.rs @@ -95,7 +95,7 @@ impl Default for BoundSurface>> { #[cfg(feature="threads")] impl Surface for BoundSurface>> { - fn rect(&self) -> Rectangle { + fn rect(&self) -> Rectangle { let r = self.binding.lock().unwrap(); r.rect.clone() } @@ -114,7 +114,7 @@ impl Surface for BoundSurface>> { self.binding.lock().unwrap().shader = None; } - fn set_rect(&mut self, rect: &Rectangle) { + fn set_rect(&mut self, rect: &Rectangle) { self.binding.lock().unwrap().rect = rect.clone(); }