Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1780122

Browse files
committedMay 24, 2023
Fix comment and fmt
1 parent 98b062e commit 1780122

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎bb8/src/api.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ impl<M: ManageConnection> Builder<M> {
273273

274274
/// Sets the queue strategy to be used by the pool
275275
///
276-
/// Defaults to `LIFO`.
276+
/// Defaults to `FIFO`.
277277
#[must_use]
278278
pub fn queue_strategy(mut self, queue_strategy: QueueStrategy) -> Self {
279279
self.queue_strategy = queue_strategy;

‎bb8/src/internals.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::cmp::min;
22
use std::sync::Arc;
33
use std::time::Instant;
44

5-
use crate::{lock::Mutex, api::QueueStrategy};
5+
use crate::{api::QueueStrategy, lock::Mutex};
66
use futures_channel::oneshot;
77

88
use crate::api::{Builder, ManageConnection};

0 commit comments

Comments
 (0)
Please sign in to comment.