Skip to content

Commit

Permalink
Update Rust to 1.84.0 (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzkocer authored Jan 30, 2025
1 parent f2c1d33 commit 92dd098
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
docker_container_repo_dir=/app

# Common docker options
rust_docker_container := public.ecr.aws/docker/library/rust:1.80
rust_docker_container := public.ecr.aws/docker/library/rust:1.84.0

docker_opts_shared := --rm -v "$(PWD)":$(docker_container_repo_dir) -w $(docker_container_repo_dir)
rust_docker_run := docker run -v $(PWD):/$(docker_container_repo_dir) -w $(docker_container_repo_dir) -it -e TEST_ALL_PLUGINS -e CARGO_HOME=/app/.cargo $(rust_docker_container)
Expand Down
4 changes: 2 additions & 2 deletions wp_serde_helper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ where
// Use `PhantomData` to avoid "unused generic `T` error"
struct StringOfJsonArrayVisitor<T>(PhantomData<T>);

impl<'de, T: DeserializeOwned> de::Visitor<'de> for StringOfJsonArrayVisitor<T> {
impl<T: DeserializeOwned> de::Visitor<'_> for StringOfJsonArrayVisitor<T> {
type Value = Vec<T>;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -47,7 +47,7 @@ where

struct DeserializeI64OrStringVisitor;

impl<'de> de::Visitor<'de> for DeserializeI64OrStringVisitor {
impl de::Visitor<'_> for DeserializeI64OrStringVisitor {
type Value = i64;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down

0 comments on commit 92dd098

Please sign in to comment.