Skip to content

Commit

Permalink
style: Resolve clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Page committed Feb 6, 2021
1 parent 364e9f1 commit df15d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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() {
Expand Down

0 comments on commit df15d5e

Please sign in to comment.