Skip to content

Commit 445aa35

Browse files
committed
fmt
1 parent f2660f6 commit 445aa35

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

iroh-cli/src/commands/docs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ use indicatif::{HumanBytes, HumanDuration, MultiProgress, ProgressBar, ProgressS
1818
use iroh::{
1919
base::{base32::fmt_short, node_addr::AddrInfoOptions},
2020
blobs::{provider::AddProgress, util::SetTagOption, Hash, Tag},
21-
client::blobs::WrapOption,
2221
client::{
22+
blobs::WrapOption,
2323
docs::{Doc, Entry, LiveEvent, Origin, ShareMode},
2424
Iroh,
2525
},

iroh/src/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,14 +495,14 @@ fn node_address_for_storage(info: RemoteInfo) -> Option<NodeAddr> {
495495

496496
#[cfg(test)]
497497
mod tests {
498-
use crate::client::blobs::{AddOutcome, WrapOption};
499498
use anyhow::{bail, Context};
500499
use bytes::Bytes;
501500
use iroh_base::{node_addr::AddrInfoOptions, ticket::BlobTicket};
502501
use iroh_blobs::{provider::AddProgress, util::SetTagOption, BlobFormat};
503502
use iroh_net::{key::SecretKey, relay::RelayMode, test_utils::DnsPkarrServer, NodeAddr};
504503

505504
use super::*;
505+
use crate::client::blobs::{AddOutcome, WrapOption};
506506

507507
#[tokio::test]
508508
async fn test_ticket_multiple_addrs() {

iroh/tests/batch.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ use std::{io, time::Duration};
33
use bao_tree::blake3;
44
use bytes::Bytes;
55
use futures_lite::StreamExt;
6-
use iroh::client::blobs::{AddDirOpts, WrapOption};
7-
use iroh::node::GcPolicy;
6+
use iroh::{
7+
client::blobs::{AddDirOpts, WrapOption},
8+
node::GcPolicy,
9+
};
810
use iroh_blobs::store::mem::Store;
911

1012
async fn create_node() -> anyhow::Result<(iroh::node::Node<Store>, async_channel::Receiver<()>)> {

0 commit comments

Comments
 (0)