mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-29 04:21:06 -05:00
style: Resolve clippy
This commit is contained in:
parent
364e9f1dc8
commit
df15d5e982
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ pub static NO_TOKENS: &str = " ";
|
||||||
pub static SINGLE_TOKEN: &str = "success";
|
pub static SINGLE_TOKEN: &str = "success";
|
||||||
|
|
||||||
// Stolen from https://github.com/BurntSushi/ripgrep/blob/master/grep-searcher/src/searcher/glue.rs
|
// 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
|
For the Doctor Watsons of this world, as opposed to the Sherlock
|
||||||
Holmeses, success in the province of detective work must always
|
Holmeses, success in the province of detective work must always
|
||||||
be, to a very large extent, the result of luck. Sherlock Holmes
|
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
|
// 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;
|
extern crate snap;
|
||||||
use std::io;
|
use std::io;
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
Loading…
Reference in a new issue