Skip to content

Commit 6dfdd6a

Browse files
committed
fmt
1 parent c72ebf5 commit 6dfdd6a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/store/fs/bao_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ use bao_tree::{
2020
use bytes::{Bytes, BytesMut};
2121
use derive_more::Debug;
2222
use irpc::channel::mpsc;
23-
use super::util::watch;
2423
use tracing::{debug, error, info, trace};
2524

2625
use super::{
2726
entry_state::{DataLocation, EntryState, OutboardLocation},
2827
options::{Options, PathOptions},
28+
util::watch,
2929
BaoFilePart,
3030
};
3131
use crate::{

src/store/fs/util/watch.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl<T> Drop for Sender<T> {
5353
self.0.value.borrow_mut().dropped = true;
5454
self.0.notify.notify_waiters();
5555
}
56-
}
56+
}
5757

5858
impl<T> Receiver<T> {
5959
pub async fn changed(&self) -> Result<(), error::RecvError> {
@@ -69,7 +69,7 @@ impl<T> Receiver<T> {
6969
AtomicRef::map(self.0.value.borrow(), |state| &state.value)
7070
}
7171
}
72-
72+
7373
pub mod error {
7474
use std::{error::Error, fmt};
7575

@@ -84,4 +84,4 @@ pub mod error {
8484
}
8585

8686
impl Error for RecvError {}
87-
}
87+
}

0 commit comments

Comments
 (0)