style(format): reformat code with consistent line breaks and spacing
This commit is contained in:
+1
-6
@@ -61,8 +61,6 @@ fn get_max_concurrent() -> usize {
|
||||
.unwrap_or_else(|e| e.into_inner())
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// A guard that holds a rate-limit permit. The permit is released on drop.
|
||||
pub struct RateLimitGuard {
|
||||
/// The semaphore permit. Dropping this releases the permit.
|
||||
@@ -212,10 +210,7 @@ pub fn cleanup_idle_semaphores() {
|
||||
});
|
||||
|
||||
if removed > 0 {
|
||||
tracing::info!(
|
||||
removed = removed,
|
||||
"cleaned up idle rate-limit semaphores"
|
||||
);
|
||||
tracing::info!(removed = removed, "cleaned up idle rate-limit semaphores");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user