clean up imports

This commit is contained in:
steven-omaha
2023-02-14 17:16:24 +01:00
parent 1e8041f7b0
commit 5bf662dbc4
7 changed files with 14 additions and 16 deletions
@@ -1,8 +1,7 @@
use std::collections::HashMap;
use std::collections::{HashMap, HashSet};
use std::fmt::Debug;
use std::process::Command;
use std::process::{Command, ExitStatus};
use std::rc::Rc;
use std::{collections::HashSet, process::ExitStatus};
use anyhow::{Context, Result};
@@ -1,4 +1,5 @@
use std::{fmt::Write, process::ExitStatus};
use std::fmt::Write;
use std::process::ExitStatus;
use anyhow::{bail, ensure, Context, Result};
+2 -1
View File
@@ -1,8 +1,9 @@
use std::collections::HashSet;
use std::fmt::Display;
use std::fs::{read_to_string, File};
use std::hash::Hash;
use std::io::Write;
use std::path::{Path, PathBuf};
use std::{collections::HashSet, fmt::Display};
use anyhow::{Context, Result};
+4 -6
View File
@@ -1,9 +1,7 @@
use std::{
collections::HashSet,
fmt::{Display, Write},
hash::Hash,
iter::Peekable,
};
use std::collections::HashSet;
use std::fmt::{Display, Write};
use std::hash::Hash;
use std::iter::Peekable;
use anyhow::{ensure, Context, Result};
+2 -1
View File
@@ -1,4 +1,5 @@
use std::{env, path::PathBuf};
use std::env;
use std::path::PathBuf;
use anyhow::{Context, Result};