Skip to content

Commit

Permalink
Merge pull request #496 from asomers/clippy-jul-2023
Browse files Browse the repository at this point in the history
Clippy jul 2023
  • Loading branch information
asomers authored Jul 5, 2023
2 parents 854ca8a + 252884f commit c78f351
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[workspace]
members = ["mockall", "mockall_derive", "mockall_double"]
resolver = "2"
2 changes: 1 addition & 1 deletion mockall/tests/automock_impl_future.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn returning_stream() {
let mut mock = MockFoo::new();
mock.expect_bar()
.returning(|| {
Box::pin(stream::iter(vec![42].into_iter()))
Box::pin(stream::iter(vec![42]))
});
let all = mock.bar()
.collect::<Vec<u32>>()
Expand Down

0 comments on commit c78f351

Please sign in to comment.