From 18ba5796b0cfd3760a78d3ea0f137b2fc006b621 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 5 Dec 2024 20:27:01 -0500 Subject: [PATCH] Update to rust 2021 Fix tests --- Cargo.toml | 2 +- src/files.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index da54841..9f12df3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "image-api" version = "0.1.0" authors = ["Cameron Cordes "] -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/files.rs b/src/files.rs index 7eba0d4..c9cc529 100644 --- a/src/files.rs +++ b/src/files.rs @@ -396,7 +396,7 @@ mod tests { } fn move_file>(&self, from: P, destination: P) -> anyhow::Result<()> { - + todo!() } }