Skip to content

Commit

Permalink
Merge pull request #147 from paritytech/NukeManDan-patch-1
Browse files Browse the repository at this point in the history
Move to rust 2021
  • Loading branch information
andresilva authored Feb 24, 2022
2 parents d802335 + 545594f commit 722f02d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "PBFT-based finality gadget for blockchains"
authors = ["Parity Technologies <admin@parity.io>"]
license = "Apache-2.0"
repository = "https://github.com/paritytech/finality-grandpa"
edition = "2018"
edition = "2021"

[dependencies]
either = { version = "1.6", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion src/voter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ mod tests {
})
.for_each(|_| future::ready(()))
})
.then(|_| {
.then(move |_| {
// send our commit
stream::iter(iter::once(Ok(CommunicationOut::Commit(commit.0, commit.1))))
.forward(commits_sink)
Expand Down

0 comments on commit 722f02d

Please sign in to comment.