diff options
| author | Emīls <emils@mullvad.net> | 2023-08-28 16:11:13 +0200 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2023-08-30 15:46:16 +0200 |
| commit | abeccca73438f4fc5704b284d4ba3d5c9c44714f (patch) | |
| tree | 5bf4ca95e26d5fd5cdccda1356a31256e231cefe /mullvad-problem-report/src | |
| parent | 7fdf5e1140481c41a547351ba92b12603d45784c (diff) | |
| download | mullvadvpn-abeccca73438f4fc5704b284d4ba3d5c9c44714f.tar.xz mullvadvpn-abeccca73438f4fc5704b284d4ba3d5c9c44714f.zip | |
Fix clippy lints
Diffstat (limited to 'mullvad-problem-report/src')
| -rw-r--r-- | mullvad-problem-report/src/lib.rs | 2 |
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]") |
