bump bootstrap; remove redundant imports.
This commit is contained in:
parent
6a1ca0ba17
commit
d6cc855190
@ -1125,8 +1125,6 @@ impl Build {
|
|||||||
/// `rust.save-toolstates` in `config.toml`. If unspecified, nothing will be
|
/// `rust.save-toolstates` in `config.toml`. If unspecified, nothing will be
|
||||||
/// done. The file is updated immediately after this function completes.
|
/// done. The file is updated immediately after this function completes.
|
||||||
pub fn save_toolstate(&self, tool: &str, state: ToolState) {
|
pub fn save_toolstate(&self, tool: &str, state: ToolState) {
|
||||||
use std::io::{Seek, SeekFrom};
|
|
||||||
|
|
||||||
if let Some(ref path) = self.config.save_toolstates {
|
if let Some(ref path) = self.config.save_toolstates {
|
||||||
let mut file = t!(fs::OpenOptions::new()
|
let mut file = t!(fs::OpenOptions::new()
|
||||||
.create(true)
|
.create(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user