Skip to content

Commit dc0a6a8

Browse files
committed
chore: remove duplicate trait impl.
1 parent aa0d45e commit dc0a6a8

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

.extras/snippets/cli.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,6 @@ impl From<VerbosityLevel> for LevelWrapper<tracing::Level, tracing_subscriber::f
103103
}
104104
}
105105

106-
impl From<VerbosityLevel> for tracing_subscriber::filter::EnvFilter {
107-
#[inline]
108-
fn from(level: VerbosityLevel) -> Self {
109-
match level {
110-
VerbosityLevel::Error => tracing_subscriber::filter::EnvFilter::new("ERROR"),
111-
VerbosityLevel::Warn => tracing_subscriber::filter::EnvFilter::new("WARN"),
112-
VerbosityLevel::Info => tracing_subscriber::filter::EnvFilter::new("INFO"),
113-
VerbosityLevel::Debug => tracing_subscriber::filter::EnvFilter::new("DEBUG"),
114-
VerbosityLevel::Trace => tracing_subscriber::filter::EnvFilter::new("TRACE"),
115-
}
116-
}
117-
}
118-
119106
impl From<VerbosityLevel> for tracing::Level {
120107
#[inline]
121108
fn from(value: VerbosityLevel) -> Self {

build/common-tasks.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ROOT = "."
1414

1515
# BIN_EXTENSION = "${WINDOWS_EXTENSION}"
1616

17-
# Currently hardcoding the env variable that's above for this
1817
# Using a 'decode-mapping' to set the correct extension
1918
BIN_EXTENSION = { source = "${CARGO_MAKE_RUST_TARGET_OS}", default_value = "", mapping = { "linux" = "", "macos" = "", "windows" = ".exe", "openbsd" = "" } }
2019

0 commit comments

Comments
 (0)