bump bootstrap; remove redundant imports.

This commit is contained in:
Mazdak Farrokhzad 2019-04-14 23:29:22 +02:00
parent 6a1ca0ba17
commit d6cc855190

View File

@ -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)