mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
radicle: remove FetchResult associated type
The Handle trait defines a FetchResult associated type. This type is always instantiated to be the FetchResult enum in radicle::node. Remove the associated type to simplify the trait. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
@@ -107,7 +107,6 @@ impl<G: Signer + Ecdh + 'static> Handle<G> {
|
||||
impl<G: Signer + Ecdh + 'static> radicle::node::Handle for Handle<G> {
|
||||
type Sessions = Sessions;
|
||||
type Error = Error;
|
||||
type FetchResult = FetchResult;
|
||||
|
||||
fn is_running(&self) -> bool {
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user