From 3e7a9173f92de404bd9e7415bfab62452d443124 Mon Sep 17 00:00:00 2001 From: Cameron Garnham Date: Tue, 25 Apr 2023 22:14:12 +0200 Subject: [PATCH] dev: fix clippy warnings for: src/lib.rs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 6db3f410..a2b7d173 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -33,7 +33,7 @@ where let mut acc = vec![]; for s in s.as_ref().split(',') { let item = s.trim().parse::().map_err(|_| ())?; - acc.push(item) + acc.push(item); } if acc.is_empty() { Ok(None)