mirror of
https://github.com/Hopiu/lychee.git
synced 2026-05-04 11:54:46 +00:00
Remove unneeded &'static
This commit is contained in:
parent
3a5e4ada2c
commit
c496a292a6
1 changed files with 1 additions and 2 deletions
|
|
@ -3,8 +3,7 @@ use regex::Regex;
|
|||
use reqwest::{Request, Url};
|
||||
|
||||
/// Sadly some pages only return plaintext results if Google is trying to crawl them.
|
||||
const GOOGLEBOT: &'static str =
|
||||
"Mozilla/5.0 (compatible; Googlebot/2.1; +http://google.com/bot.html)";
|
||||
const GOOGLEBOT: &str = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://google.com/bot.html)";
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Quirk {
|
||||
|
|
|
|||
Loading…
Reference in a new issue