From 028beb821c14ca39d8c7e25752b3455547c36b13 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Fri, 6 Dec 2019 16:46:52 -0500 Subject: [PATCH] Rustfmt update for nightly formatter --- src/utils.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils.rs b/src/utils.rs index 34e23b5..c25af4e 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -35,8 +35,7 @@ use url::{ParseError, Url}; /// Note, however, that this does not perform any validation of the found URL. /// Malformed CSS could lead to an invalid URL being present. It is therefor /// recomended that the URL is manually validated. -const CSS_URL_REGEX_STR: &str = - r###"(?:(?:(?P@import)|(?Psrc\s*:))\s+)?url\((?P['"]?(?P[^"'\)]+)['"]?)\)"###; +const CSS_URL_REGEX_STR: &str = r###"(?:(?:(?P@import)|(?Psrc\s*:))\s+)?url\((?P['"]?(?P[^"'\)]+)['"]?)\)"###; lazy_static! { static ref HAS_PROTOCOL: Regex = Regex::new(r"^[a-z0-9]+:").unwrap();