Skip to content

Commit 3e2db83

Browse files
committed
Fix warning in test
1 parent 06aa366 commit 3e2db83

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@ fn test_file() {
5353
let pool1 = pool.clone();
5454
let t1 = thread::spawn(move || {
5555
let conn = pool1.get().unwrap();
56-
let conn1: &Connection = &*conn;
56+
let _: &Connection = &*conn;
5757
s1.send(()).unwrap();
5858
r2.recv().unwrap();
59-
drop(conn1);
6059
});
6160

6261
let pool2 = pool.clone();

0 commit comments

Comments
 (0)