Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
Use qualified path for Get
Browse files Browse the repository at this point in the history
`Get` is a bit unclear, lets qualify the import with it's module.

Use qualified path `state::Get` when bring `Get` into scope.
  • Loading branch information
tcharding committed Jun 11, 2020
1 parent 12bb057 commit 7510f2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cnd/src/lib.rs
Expand Up @@ -68,7 +68,7 @@ use std::{

pub use self::{
actions::*, facade::Facade, protocol_spawner::*, seed::*, spawn::*, storage::*, swap_id::*,
swap_protocols::state::Get,
swap_protocols::state,
};
// Export comit types so we do not need to worry about where they come from.
pub use comit::{ledger, Never, Protocol, RelativeTime, Role, Secret, SecretHash, Side, Timestamp};
Expand Down
3 changes: 2 additions & 1 deletion cnd/src/storage/http_api.rs
Expand Up @@ -3,8 +3,9 @@ use crate::{
asset,
db::{self, Halbit, Hbit, Herc20},
http_api::{halbit, hbit, herc20, AliceSwap, BobSwap},
state::Get,
storage::{LoadTables, Tables},
Get, Load, LocalSwapId, RootSeed, Storage,
Load, LocalSwapId, RootSeed, Storage,
};
use async_trait::async_trait;

Expand Down

0 comments on commit 7510f2d

Please sign in to comment.