Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
pwbh committed Jan 31, 2024
1 parent 20d035f commit 55be72c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nyx-storage/src/directory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::{
};

use async_std::{
fs::{self, DirEntry, File, OpenOptions, ReadDir},
fs::{self, File, OpenOptions},
io,
};

Expand Down
3 changes: 2 additions & 1 deletion nyx-storage/src/indices.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{collections::HashMap, sync::Arc};

use async_std::io::{self, prelude::SeekExt, ReadExt, WriteExt};
use async_std::io::{self, prelude::SeekExt, ReadExt};

use crate::{offset::Offset, segment::Segment};

Expand Down Expand Up @@ -60,6 +60,7 @@ impl Indices {

#[cfg(test)]
mod tests {
use async_std::io::WriteExt;

use crate::{directory::Directory, macros::function, MAX_SEGMENT_SIZE};

Expand Down

0 comments on commit 55be72c

Please sign in to comment.