diff options
Diffstat (limited to 'web/src/bus.rs')
| -rw-r--r-- | web/src/bus.rs | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/web/src/bus.rs b/web/src/bus.rs index c66e9659..5ce8e810 100644 --- a/web/src/bus.rs +++ b/web/src/bus.rs @@ -5,7 +5,7 @@ use std::rc::Rc;  ///  /// It can be used to route messages back to the [`Application`].  /// -/// [`Application`]: trait.Application.html +/// [`Application`]: crate::Application  #[allow(missing_debug_implementations)]  pub struct Bus<Message> {      publish: Rc<Box<dyn Fn(Message) -> ()>>, @@ -33,15 +33,13 @@ where      /// Publishes a new message for the [`Application`].      /// -    /// [`Application`]: trait.Application.html +    /// [`Application`]: crate::Application      pub fn publish(&self, message: Message) {          (self.publish)(message)      }      /// Creates a new [`Bus`] that applies the given function to the messages      /// before publishing. -    /// -    /// [`Bus`]: struct.Bus.html      pub fn map<B>(&self, mapper: Rc<Box<dyn Fn(B) -> Message>>) -> Bus<B>      where          B: 'static, | 
