From 5e39cd32d15e8b9e40d9923db93aec3c058a70c8 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Mon, 26 Jul 2021 14:41:00 +0200 Subject: [PATCH] removed unused imports, added necessary. --- src/libbuild_zynq/lib.rs | 3 --- src/runtime/build.rs | 1 + src/satman/build.rs | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libbuild_zynq/lib.rs b/src/libbuild_zynq/lib.rs index d0a1060..6e5c851 100644 --- a/src/libbuild_zynq/lib.rs +++ b/src/libbuild_zynq/lib.rs @@ -1,8 +1,5 @@ -use std::env; use std::fs::File; -use std::io::Write; use std::io::{BufRead, BufReader}; -use std::path::PathBuf; pub fn cfg() { // Handle rustc-cfg file diff --git a/src/runtime/build.rs b/src/runtime/build.rs index 32e3fc7..04ead8d 100644 --- a/src/runtime/build.rs +++ b/src/runtime/build.rs @@ -1,5 +1,6 @@ use std::env; use std::fs::File; +use std::io::Write; use std::path::PathBuf; extern crate build_zynq; diff --git a/src/satman/build.rs b/src/satman/build.rs index d16dad7..3385371 100644 --- a/src/satman/build.rs +++ b/src/satman/build.rs @@ -1,5 +1,6 @@ use std::env; use std::fs::File; +use std::io::Write; use std::path::PathBuf; extern crate build_zynq;