Skip to content

Commit 8a4c058

Browse files
koiccalebcartwright
authored andcommitted
Use the traits added to the Rust 2021 Edition prelude
Follow up rust-lang/rust#96861. This PR uses the traits added to the Rust 2021 Edition prelude. > The `TryInto`, `TryFrom` and `FromIterator` traits are now part of the prelude. https://doc.rust-lang.org/edition-guide/rust-2021/prelude.html
1 parent 17003ce commit 8a4c058

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/cargo-fmt/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use std::ffi::OsStr;
1010
use std::fs;
1111
use std::hash::{Hash, Hasher};
1212
use std::io::{self, Write};
13-
use std::iter::FromIterator;
1413
use std::path::{Path, PathBuf};
1514
use std::process::Command;
1615
use std::str;

0 commit comments

Comments
 (0)