Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
fix: type of errors returned from node::subscribe
Lars Wirzenius committed 2 years ago
commit c73447a74506bac36fa67777cfb398c2663972af
parent 4ffa6115e72059fdd5a0c0c68be2fd06c9d92989
1 file changed +1 -1
modified src/event.rs
@@ -19,7 +19,7 @@ use crate::filter::{BrokerEvent, EventFilter};
/// filter are returned. See [`NodeEventSource::allow`] and
/// [`EventFilter`].
pub struct NodeEventSource {
-
    events: Box<dyn Iterator<Item = Result<Event, std::io::Error>>>,
+
    events: Box<dyn Iterator<Item = Result<Event, radicle::node::Error>>>,
    allowed: Vec<EventFilter>,
}