Skip to content

Commit ff5b434

Browse files
committed
chore(cli/rustup_mode): merge std imports
1 parent fb413ae commit ff5b434

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/cli/rustup_mode.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
use std::borrow::Cow;
2-
use std::env::consts::EXE_SUFFIX;
3-
use std::fmt;
4-
use std::io::{self, Write};
5-
use std::path::{Path, PathBuf};
6-
use std::process::ExitStatus;
7-
use std::str::FromStr;
1+
use std::{
2+
borrow::Cow,
3+
env::consts::EXE_SUFFIX,
4+
fmt,
5+
io::{self, Write},
6+
path::{Path, PathBuf},
7+
process::ExitStatus,
8+
str::FromStr,
9+
};
810

911
use anyhow::{Context, Error, Result, anyhow};
1012
use clap::{Args, CommandFactory, Parser, Subcommand, ValueEnum, builder::PossibleValue};

0 commit comments

Comments
 (0)