summaryrefslogtreecommitdiffhomepage
path: root/mullvad-problem-report/src
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2023-08-28 16:11:13 +0200
committerEmīls <emils@mullvad.net>2023-08-30 15:46:16 +0200
commitabeccca73438f4fc5704b284d4ba3d5c9c44714f (patch)
tree5bf4ca95e26d5fd5cdccda1356a31256e231cefe /mullvad-problem-report/src
parent7fdf5e1140481c41a547351ba92b12603d45784c (diff)
downloadmullvadvpn-abeccca73438f4fc5704b284d4ba3d5c9c44714f.tar.xz
mullvadvpn-abeccca73438f4fc5704b284d4ba3d5c9c44714f.zip
Fix clippy lints
Diffstat (limited to 'mullvad-problem-report/src')
-rw-r--r--mullvad-problem-report/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-problem-report/src/lib.rs b/mullvad-problem-report/src/lib.rs
index dcc446800f..10c2ec1b96 100644
--- a/mullvad-problem-report/src/lib.rs
+++ b/mullvad-problem-report/src/lib.rs
@@ -438,7 +438,7 @@ impl ProblemReport {
fn redact_guids(input: &str) -> Cow<'_, str> {
static RE: Lazy<Regex> = Lazy::new(|| {
- Regex::new(r#"(?i)\{?[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}\}?"#)
+ Regex::new(r"(?i)\{?[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}\}?")
.unwrap()
});
RE.replace_all(input, "[REDACTED]")