Skip to content

Commit 1c04b9e

Browse files
committed
fix: clippy
1 parent f8fe6b7 commit 1c04b9e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

datadog-log/src/logger.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ impl Logger {
134134

135135
// Add file layer if configured
136136
if let Some(file_config) = &self.file_config {
137-
if let Ok(file_layer) = file_layer(&*file_config.path) {
137+
if let Ok(file_layer) = file_layer(&file_config.path) {
138138
layers.push(file_layer);
139139
}
140140
}
@@ -193,6 +193,7 @@ fn env_filter() -> EnvFilter {
193193
}
194194

195195
/// Create standard output layer.
196+
#[allow(clippy::type_complexity)]
196197
fn std_layer(
197198
config: &StdConfig,
198199
) -> Result<
@@ -212,6 +213,7 @@ fn std_layer(
212213
.boxed())
213214
}
214215

216+
#[allow(clippy::type_complexity)]
215217
fn file_layer(
216218
path: &str,
217219
) -> Result<

0 commit comments

Comments
 (0)