From b9605310b18aeae1762690ce5f87ec964a36e27f Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Fri, 14 Jul 2023 15:14:52 +0000 Subject: [PATCH] Testing fmt CI check behind cuda feature flag. --- candle-core/src/cuda_backend.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()))) } }