mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-26 18:56:23 -05:00
Top to bottom pub mod then mod then pub use then use (incl. use crate and use self)
This commit is contained in:
parent
44c4b5dcea
commit
433704e48c
14 changed files with 38 additions and 33 deletions
|
|
@ -1,3 +1,6 @@
|
|||
pub use alice::Alice;
|
||||
pub use bob::Bob;
|
||||
|
||||
use anyhow::{anyhow, bail, Context, Result};
|
||||
use serde::{de::DeserializeOwned, Deserialize, Serialize};
|
||||
use std::{fmt::Display, path::Path};
|
||||
|
|
@ -5,8 +8,6 @@ use uuid::Uuid;
|
|||
|
||||
mod alice;
|
||||
mod bob;
|
||||
pub use alice::Alice;
|
||||
pub use bob::Bob;
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq)]
|
||||
pub enum Swap {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue