Skip to content

Commit

Permalink
code: Format with nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
felinira committed Jul 15, 2024
1 parent 79a0c70 commit 50b391c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/core/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ use std::{borrow::Cow, time::Duration};

#[cfg(feature = "transfer")]
use crate::transfer;
use crate::transit;
use crate::{
self as magic_wormhole,
core::{MailboxConnection, Nameplate},
AppConfig, AppID, Code, Wormhole, WormholeError,
transit, AppConfig, AppID, Code, Wormhole, WormholeError,
};

pub const TEST_APPID: AppID = AppID(std::borrow::Cow::Borrowed(
Expand Down
3 changes: 1 addition & 2 deletions src/transfer/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use futures::{
};
use sha2::{digest::FixedOutput, Digest, Sha256};

use super::offer::*;
use super::*;
use super::{offer::*, *};

#[derive(Serialize, Deserialize, Debug, PartialEq, Clone)]
#[serde(rename_all = "kebab-case")]
Expand Down
3 changes: 1 addition & 2 deletions src/transfer/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ use futures::{AsyncReadExt, AsyncSeekExt, AsyncWriteExt};
use serde_derive::{Deserialize, Serialize};
use sha2::{digest::FixedOutput, Sha256};

use super::offer::*;
use super::*;
use super::{offer::*, *};

/**
* A set of hints for both sides to find each other
Expand Down

0 comments on commit 50b391c

Please sign in to comment.