From f84cdb094d70cb92f95f2b52367bfff7480f7deb Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 12 Jun 2021 13:31:51 -0700 Subject: [PATCH] copy: Updated. --- copy/Cargo.toml | 1 + copy/src/main.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/copy/Cargo.toml b/copy/Cargo.toml index bb0d869..5e05191 100644 --- a/copy/Cargo.toml +++ b/copy/Cargo.toml @@ -2,5 +2,6 @@ name = "copy" version = "0.1.0" authors = ["You "] +edition = "2018" [dependencies] diff --git a/copy/src/main.rs b/copy/src/main.rs index 867441f..9dadb49 100644 --- a/copy/src/main.rs +++ b/copy/src/main.rs @@ -1,3 +1,6 @@ +#![warn(rust_2018_idioms)] +#![allow(elided_lifetimes_in_paths)] + use std::fs; use std::io; use std::path::Path;