diff --git a/candle-core/src/cuda_backend.rs b/candle-core/src/cuda_backend.rs index 74a3cf30..934b90dd 100644 --- a/candle-core/src/cuda_backend.rs +++ b/candle-core/src/cuda_backend.rs @@ -106,7 +106,8 @@ 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()))) } }