From 009bc7cf2431adb9dc735c60c2aea2b76a443d7e Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sat, 14 Oct 2023 13:00:44 +0700 Subject: [PATCH] Remove instances of `allow(clippy:all)`. These are no longer needed. --- plot/src/axis.rs | 3 --- plot/src/candlestick.rs | 3 --- plot/src/curve.rs | 3 --- plot/src/errorbar.rs | 3 --- plot/src/filledcurve.rs | 3 --- plot/src/key.rs | 3 --- plot/src/lib.rs | 3 --- 7 files changed, 21 deletions(-) diff --git a/plot/src/axis.rs b/plot/src/axis.rs index 4f068b155..5f7ae4947 100644 --- a/plot/src/axis.rs +++ b/plot/src/axis.rs @@ -155,9 +155,6 @@ where } impl<'a> Script for (Axis, &'a Properties) { - // Allow clippy::format_push_string even with older versions of rust (<1.62) which - // don't have it defined. - #[allow(clippy::all)] fn script(&self) -> String { let &(axis, properties) = self; let axis_ = axis.display(); diff --git a/plot/src/candlestick.rs b/plot/src/candlestick.rs index d1754e8c5..e0a5cbebc 100644 --- a/plot/src/candlestick.rs +++ b/plot/src/candlestick.rs @@ -27,9 +27,6 @@ impl Default for Properties { } impl Script for Properties { - // Allow clippy::format_push_string even with older versions of rust (<1.62) which - // don't have it defined. - #[allow(clippy::all)] fn script(&self) -> String { let mut script = String::from("with candlesticks "); diff --git a/plot/src/curve.rs b/plot/src/curve.rs index a5766ee56..bbddeff1a 100644 --- a/plot/src/curve.rs +++ b/plot/src/curve.rs @@ -38,9 +38,6 @@ impl CurveDefault