Skip to content

Commit

Permalink
chore: upgrade Rust toolchain to 1.74.0 (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus authored Dec 11, 2023
1 parent a221749 commit bf9d2e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.73-bullseye AS build
FROM rust:1.74-bullseye AS build

ARG GH_USER
ARG GH_TOKEN
Expand Down
4 changes: 2 additions & 2 deletions graph-gateway/src/indexings_blocklist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ pub async fn check_indexer_pois(
// a list of matching POI
let result = pois_info
.iter()
.cloned()
.filter(|info| {
.filter(|&info| {
let info_meta = info.meta();
let info_poi = info.poi();

Expand All @@ -113,6 +112,7 @@ pub async fn check_indexer_pois(
.map(|poi| poi == &info_poi)
.unwrap_or_default()
})
.cloned()
.collect::<Vec<_>>();

(indexer_addr, result)
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.73.0"
channel = "1.74.0"
profile = "default"

0 comments on commit bf9d2e4

Please sign in to comment.