From 3e502161ab04119a031357a2b9854dab2abf49db Mon Sep 17 00:00:00 2001 From: Corey Lowman Date: Thu, 10 Aug 2023 05:42:34 -0400 Subject: [PATCH] Fixing clippy warning --- src/tensor/tensorlike.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tensor/tensorlike.rs b/src/tensor/tensorlike.rs index 25272de8a..85c538260 100644 --- a/src/tensor/tensorlike.rs +++ b/src/tensor/tensorlike.rs @@ -10,6 +10,7 @@ use super::{storage_traits::AllocGrad, GhostTensor, Tensor, UniqueId}; /// exists to unify handling of [Tensor] and [GhostTensor]. /// /// *If it looks like a tensor and barks like a tensor, then pet it like a tensor.* +#[allow(clippy::len_without_is_empty)] pub trait Tensorlike>: AllocGrad + HasErr + HasShape {