From df15d5e9825bd1a1c37dd5d08e16c775792f5a89 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Sat, 6 Feb 2021 11:19:08 -0600 Subject: [PATCH] style: Resolve clippy --- benches/data.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/data.rs b/benches/data.rs index 5f25ba6..39e6c3a 100644 --- a/benches/data.rs +++ b/benches/data.rs @@ -5,7 +5,7 @@ pub static NO_TOKENS: &str = " "; pub static SINGLE_TOKEN: &str = "success"; // Stolen from https://github.com/BurntSushi/ripgrep/blob/master/grep-searcher/src/searcher/glue.rs -pub static SHERLOCK: &'static str = "\ +pub static SHERLOCK: &str = "\ For the Doctor Watsons of this world, as opposed to the Sherlock Holmeses, success in the province of detective work must always be, to a very large extent, the result of luck. Sherlock Holmes @@ -15,7 +15,7 @@ and exhibited clearly, with a label attached.\ "; // Stolen from https://github.com/BurntSushi/ripgrep/blob/master/grep-searcher/src/searcher/glue.rs -pub static CODE: &'static str = "\ +pub static CODE: &str = "\ extern crate snap; use std::io; fn main() {