More uniform imports

This commit is contained in:
bjorn3 2022-08-28 17:53:36 +00:00
parent 721668f133
commit c677cba06b
2 changed files with 7 additions and 5 deletions

View File

@ -1,11 +1,12 @@
use super::build_sysroot;
use super::config;
use super::utils::spawn_and_wait;
use build_system::SysrootKind;
use std::env; use std::env;
use std::path::Path; use std::path::Path;
use std::process::Command; use std::process::Command;
use super::build_sysroot;
use super::config;
use super::utils::spawn_and_wait;
use super::SysrootKind;
pub(crate) fn run( pub(crate) fn run(
channel: &str, channel: &str,
sysroot_kind: SysrootKind, sysroot_kind: SysrootKind,

View File

@ -1,4 +1,5 @@
use std::{fs, process}; use std::fs;
use std::process;
fn load_config_file() -> Vec<(String, Option<String>)> { fn load_config_file() -> Vec<(String, Option<String>)> {
fs::read_to_string("config.txt") fs::read_to_string("config.txt")