diff options
| author | ljedrz <ljedrz@gmail.com> | 2018-07-27 11:11:18 +0200 |
|---|---|---|
| committer | ljedrz <ljedrz@gmail.com> | 2018-07-27 11:11:18 +0200 |
| commit | 57a5a9b05423c4f832cd9a3aaa7e06d55fab6efa (patch) | |
| tree | e376fc76ea7242b63d95e6c68e7955c627b785bf /src/bootstrap | |
| parent | 3d0e93309d61636585cfe5ac75c0db8cb5ba03e1 (diff) | |
| download | rust-57a5a9b05423c4f832cd9a3aaa7e06d55fab6efa.tar.gz rust-57a5a9b05423c4f832cd9a3aaa7e06d55fab6efa.zip | |
Prefer to_string() to format!()
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index c67787b5b0a..724d3b74190 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -925,7 +925,7 @@ impl<'a> Builder<'a> { cargo.env("RUSTC_VERIFY_LLVM_IR", "1"); } - cargo.env("RUSTC_VERBOSE", format!("{}", self.verbosity)); + cargo.env("RUSTC_VERBOSE", self.verbosity.to_string()); // in std, we want to avoid denying warnings for stage 0 as that makes cfg's painful. if self.config.deny_warnings && !(mode == Mode::Std && stage == 0) { |
