diff options
Diffstat (limited to 'protocol')
| -rw-r--r-- | protocol/src/address.rs | 9 | ||||
| -rw-r--r-- | protocol/src/protocol.rs | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/protocol/src/address.rs b/protocol/src/address.rs index 60cc17c..3f927e0 100644 --- a/protocol/src/address.rs +++ b/protocol/src/address.rs @@ -47,6 +47,15 @@ where } } +impl<Protocol> Default for Host<Protocol> +where + Protocol: BasicProtocol, +{ + fn default() -> Self { + Self::new() + } +} + impl<Protocol> Host<Protocol> where Protocol: BasicProtocol, diff --git a/protocol/src/protocol.rs b/protocol/src/protocol.rs index a097989..4bcdbd2 100644 --- a/protocol/src/protocol.rs +++ b/protocol/src/protocol.rs @@ -74,7 +74,7 @@ pub trait BasicProtocol { /// Transfer indexes /// /// - `index_transfer` and `storage` represent the index file and - /// the corresponding block storage path, respectively. + /// the corresponding block storage path, respectively. /// - If `vault` is Some, send block information from the Vault. /// - If `workspace` is Some, send block information from the Workspace. /// |
