Skip to content

Commit

Permalink
Specify type for collect method in test utils
Browse files Browse the repository at this point in the history
  • Loading branch information
cking committed Dec 11, 2023
1 parent 2388b9b commit 6041beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl<'a> TestClusterRedis<'a> {
self.ports()
.iter()
.map(|port| format!("redis://127.0.0.1:{}/", port))
.collect(),
.collect::<Vec<_>>(),
)
.build()
.expect("Client failed to connect")
Expand Down

0 comments on commit 6041beb

Please sign in to comment.