[red-knot] Mark LoggingGuard as must_use (#14356)
This commit is contained in:
@@ -213,6 +213,7 @@ impl Default for LoggingBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
#[must_use = "Dropping the guard unregisters the tracing subscriber."]
|
||||
pub struct LoggingGuard {
|
||||
_guard: tracing::subscriber::DefaultGuard,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user