From 2f3cc046f674d8362b383a340a1ccddad782ad97 Mon Sep 17 00:00:00 2001 From: Edd Robinson Date: Tue, 1 Feb 2022 14:47:30 +0000 Subject: [PATCH] chore: enable to_string restrictive lints --- read_buffer/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/read_buffer/src/lib.rs b/read_buffer/src/lib.rs index 828f0992c2..d0c89dd9fe 100644 --- a/read_buffer/src/lib.rs +++ b/read_buffer/src/lib.rs @@ -1,5 +1,10 @@ #![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)] -#![warn(clippy::clone_on_ref_ptr, clippy::use_self)] +#![warn( + clippy::clone_on_ref_ptr, + clippy::use_self, + clippy::str_to_string, + clippy::string_to_string +)] #![allow(dead_code, clippy::too_many_arguments)] mod chunk; mod column;