Top to bottom pub mod then mod then pub use then use (incl. use crate and use self)

This commit is contained in:
Daniel Karzel 2021-01-21 17:09:53 +11:00
parent 44c4b5dcea
commit 433704e48c
14 changed files with 38 additions and 33 deletions

View file

@ -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 {