Skip to content

Commit

Permalink
fix(stacks-common): Remove remaining unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jbencin committed Jan 3, 2025
1 parent 8d33529 commit 10e6c6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion stacks-common/src/types/chainstate.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::fmt::{self, Display};
use std::fmt;
use std::io::{Read, Write};
use std::str::FromStr;

Expand Down
1 change: 0 additions & 1 deletion stacks-common/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

use std::cell::LazyCell;
use std::cmp::Ordering;
use std::fmt;
use std::ops::{Deref, DerefMut, Index, IndexMut};
Expand Down
4 changes: 2 additions & 2 deletions stacks-common/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ pub mod vrf;

use std::fs::File;
use std::io::{BufReader, BufWriter, Write};
use std::path::{Path, PathBuf};
use std::path::Path;
use std::time::{SystemTime, UNIX_EPOCH};
use std::{error, fmt, thread, time};

/// Given a relative path inside the Cargo workspace, return the absolute path
#[cfg(any(test, feature = "testing"))]
pub fn cargo_workspace<P>(relative_path: P) -> PathBuf
pub fn cargo_workspace<P>(relative_path: P) -> std::path::PathBuf
where
P: AsRef<Path>,
{
Expand Down

0 comments on commit 10e6c6d

Please sign in to comment.