summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-04-14 23:29:22 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-04-17 05:15:00 +0200
commitd6cc8551903e79bc3874e6d89f042f9691f95995 (patch)
tree70f77538286bfece7ffd5eae85505dffb97d6f4f
parent6a1ca0ba17e5719afb077d64326d2e9ea81d887e (diff)
downloadrust-d6cc8551903e79bc3874e6d89f042f9691f95995.tar.gz
bump bootstrap; remove redundant imports.
-rw-r--r--src/bootstrap/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index bcd28e9cf5e..fb60b470a36 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -1125,8 +1125,6 @@ impl Build {
/// `rust.save-toolstates` in `config.toml`. If unspecified, nothing will be
/// done. The file is updated immediately after this function completes.
pub fn save_toolstate(&self, tool: &str, state: ToolState) {
- use std::io::{Seek, SeekFrom};
-
if let Some(ref path) = self.config.save_toolstates {
let mut file = t!(fs::OpenOptions::new()
.create(true)