Skip to content

Commit 58a999b

Browse files
committed
fix docs and fmt
1 parent 8c4d831 commit 58a999b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/downloader/progress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub type ProgressSubscriber = AsyncChannelProgressSender<DownloadProgress>;
2121
/// Track the progress of downloads.
2222
///
2323
/// This struct allows to create [`ProgressSender`] structs to be passed to
24-
/// [`crate::fetch::db::fetch_to_db`]. Each progress sender can be subscribed to by any number of
24+
/// [`crate::store::fetch_to_db`]. Each progress sender can be subscribed to by any number of
2525
/// [`ProgressSubscriber`] channel senders, which will receive each progress update (if they have
2626
/// capacity). Additionally, the [`ProgressTracker`] maintains a [`TransferState`] for each
2727
/// transfer, applying each progress update to update this state. When subscribing to an already

src/rpc/client/blobs.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ use crate::{
8787
format::collection::{Collection, SimpleStore},
8888
net_protocol::BlobDownloadRequest,
8989
rpc::proto::RpcService,
90-
store::ExportProgress as BytesExportProgress,
91-
store::{BaoBlobSize, ConsistencyCheckProgress, ExportFormat, ExportMode, ValidateProgress},
90+
store::{
91+
BaoBlobSize, ConsistencyCheckProgress, ExportFormat, ExportMode,
92+
ExportProgress as BytesExportProgress, ValidateProgress,
93+
},
9294
util::SetTagOption,
9395
BlobFormat, Hash, Tag,
9496
};

src/rpc/proto/blobs.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ use crate::{
1212
net_protocol::{BatchId, BlobDownloadRequest},
1313
provider::{AddProgress, BatchAddPathProgress},
1414
rpc::client::blobs::{BlobInfo, BlobStatus, IncompleteBlobInfo, ReadAtLen, WrapOption},
15-
store::ExportProgress,
1615
store::{
17-
BaoBlobSize, ConsistencyCheckProgress, ExportFormat, ExportMode, ImportMode,
18-
ValidateProgress,
16+
BaoBlobSize, ConsistencyCheckProgress, ExportFormat, ExportMode, ExportProgress,
17+
ImportMode, ValidateProgress,
1918
},
2019
util::SetTagOption,
2120
BlobFormat, Hash, HashAndFormat, Tag,

0 commit comments

Comments
 (0)