Skip to content

Commit

Permalink
Use the traits added to the Rust 2021 Edition prelude
Browse files Browse the repository at this point in the history
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
  • Loading branch information
koic authored and calebcartwright committed May 14, 2022
1 parent 17003ce commit 8a4c058
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cargo-fmt/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use std::ffi::OsStr;
use std::fs;
use std::hash::{Hash, Hasher};
use std::io::{self, Write};
use std::iter::FromIterator;
use std::path::{Path, PathBuf};
use std::process::Command;
use std::str;
Expand Down

0 comments on commit 8a4c058

Please sign in to comment.