@@ -1071,7 +1071,7 @@ impl<H: JrMessageHandler, R: JrResponder<H::Link>> JrConnectionBuilder<H, R> {
10711071 ///
10721072 /// # Borrow Checker Considerations
10731073 ///
1074- /// You may find that [`MatchMessage`] is a better choice than this method
1074+ /// You may find that [`MatchMessage`](`crate::util::MatchMessage`) is a better choice than this method
10751075 /// for implementing custom handlers. It offers a very similar API to
10761076 /// [`JrConnectionBuilder`] but is structured to apply each test one at a time
10771077 /// (sequentially) instead of setting them all up at once. This sequential approach
@@ -1106,7 +1106,7 @@ impl<H: JrMessageHandler, R: JrResponder<H::Link>> JrConnectionBuilder<H, R> {
11061106 /// ```
11071107 ///
11081108 /// You can work around this by using `apply()` to process messages one at a time,
1109- /// or use [`MatchMessage`] which provides a similar API but applies handlers sequentially:
1109+ /// or use [`MatchMessage`](`crate::util::MatchMessage`) which provides a similar API but applies handlers sequentially:
11101110 ///
11111111 /// ```ignore
11121112 /// use sacp::{MessageCx, Handled};
@@ -1837,7 +1837,7 @@ impl<Link: JrLink> JrConnectionCx<Link> {
18371837 ///
18381838 /// If they decline to handle the message, then the message is passed to the regular registered handlers.
18391839 ///
1840- /// The handler will stay registered until the [`DynamicHandlerRegistration`] is dropped.
1840+ /// The handler will stay registered until the returned registration guard is dropped.
18411841 pub fn add_dynamic_handler (
18421842 & self ,
18431843 handler : impl JrMessageHandler < Link = Link > + ' static ,
@@ -1893,11 +1893,10 @@ impl<Link: JrLink> Drop for DynamicHandlerRegistration<Link> {
18931893///
18941894/// 1. **Respond to the request** - Use [`respond`](Self::respond) or
18951895/// [`respond_with_result`](Self::respond_with_result) to send the response
1896- /// 2. **Send other messages** - Use [`connection_cx`](Self::connection_cx) to access the
1897- /// underlying [`JrConnectionCx`], giving access to
1898- /// [`send_request`](JrConnectionCx::send_request),
1899- /// [`send_notification`](JrConnectionCx::send_notification), and
1900- /// [`spawn`](JrConnectionCx::spawn)
1896+ /// 2. **Send other messages** - Use the [`JrConnectionCx`] parameter passed to your
1897+ /// handler, which provides [`send_request`](`JrConnectionCx::send_request`),
1898+ /// [`send_notification`](`JrConnectionCx::send_notification`), and
1899+ /// [`spawn`](`JrConnectionCx::spawn`)
19011900///
19021901/// # Example
19031902///
0 commit comments