Skip to content

Commit af65540

Browse files
committed
Fix clippy warning
1 parent 2e9b225 commit af65540

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,6 @@ where F : FnOnce(&Logger) -> R {
248248
pub fn scope<SF, R>(logger: &slog::Logger, f: SF) -> R
249249
where SF: FnOnce() -> R
250250
{
251-
let _guard = ScopeGuard::new(&logger);
251+
let _guard = ScopeGuard::new(logger);
252252
f()
253253
}

0 commit comments

Comments
 (0)