From fddc503a9eed4e9c1b77851d2ce8cf68c1ce4831 Mon Sep 17 00:00:00 2001 From: Wyatt Herkamp Date: Thu, 25 Apr 2024 07:16:06 -0400 Subject: [PATCH] Review Changes --- .gitignore | 2 +- tracing-subscriber/Cargo.toml | 2 +- tracing-subscriber/src/filter/env/field.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 992f22255..ac6a51352 100644 --- a/.gitignore +++ b/.gitignore @@ -42,7 +42,7 @@ Cargo.lock ### VisualStudioCode ### .vscode/* -.vscode/settings.json +!.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json diff --git a/tracing-subscriber/Cargo.toml b/tracing-subscriber/Cargo.toml index 1ae285e9b..cd5b968c6 100644 --- a/tracing-subscriber/Cargo.toml +++ b/tracing-subscriber/Cargo.toml @@ -42,7 +42,7 @@ tracing-core = { path = "../tracing-core", version = "0.2", default-features = f # only required by the `env-filter` feature tracing = { optional = true, path = "../tracing", version = "0.2", default-features = false } -regex-automata = { optional = true, version = "0.4.6",default-features = false, features = ["syntax", "dfa-build", "dfa-search"] } +regex-automata = { optional = true, version = "0.4.6", default-features = false, features = ["syntax", "dfa-build", "dfa-search"] } regex = { optional = true, version = "1.6.0", default-features = false, features = ["std", "unicode-case", "unicode-perl"] } smallvec = { optional = true, version = "1.9.0" } once_cell = { optional = true, version = "1.13.0" } diff --git a/tracing-subscriber/src/filter/env/field.rs b/tracing-subscriber/src/filter/env/field.rs index 023340f7a..a575f1929 100644 --- a/tracing-subscriber/src/filter/env/field.rs +++ b/tracing-subscriber/src/filter/env/field.rs @@ -279,7 +279,7 @@ impl fmt::Display for ValueMatch { // === impl MatchPattern === impl FromStr for MatchPattern { - type Err = regex_automata::dfa::dense::BuildError; + type Err = BuildError; fn from_str(s: &str) -> Result { let matcher = Pattern::new(s)?; Ok(Self {