Skip to content

Commit

Permalink
Bump Rust (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmikolajczyk41 authored Feb 9, 2024
1 parent d47e00c commit 1999c06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions drink/test-macro/src/contract_building.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,11 @@ fn get_contract_crates(metadata: &Metadata) -> (Option<&Package>, impl Iterator<
let contract_deps = dep_graph
.nodes
.iter()
.filter_map(|node| {
.filter(|node| {
node.features
.contains(&INK_AS_DEPENDENCY_FEATURE.to_string())
.then(|| node.id.clone())
})
.map(pkg_lookup);
.map(move |node| pkg_lookup(node.id.clone()));

let root = dep_graph
.root
Expand Down
3 changes: 2 additions & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[toolchain]
channel = "1.70"
channel = "1.74"
components = ["rustfmt", "clippy"]

0 comments on commit 1999c06

Please sign in to comment.