diff --git a/candle-core/src/cuda_backend.rs b/candle-core/src/cuda_backend.rs index 934b90dd..74a3cf30 100644 --- a/candle-core/src/cuda_backend.rs +++ b/candle-core/src/cuda_backend.rs @@ -106,8 +106,7 @@ trait WrapErr { impl> WrapErr for std::result::Result { fn w(self) -> std::result::Result { - self - .map_err(|e| crate::Error::Cuda(Box::new(e.into()))) + self.map_err(|e| crate::Error::Cuda(Box::new(e.into()))) } }