Skip to content

Commit 656b72d

Browse files
committed
Apply clippy suggestions from Rust 1.66
1 parent feddba0 commit 656b72d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bb8/tests/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ async fn test_customize_connection_acquire() {
754754

755755
let pool = Pool::builder()
756756
.max_size(2)
757-
.connection_customizer(Box::new(CountingCustomizer::default()))
757+
.connection_customizer(Box::<CountingCustomizer>::default())
758758
.build(OkManager::<Connection>::new())
759759
.await
760760
.unwrap();

0 commit comments

Comments
 (0)