Skip to content

Commit

Permalink
event_queue: Fix broken blocking_dispatch() link because of unclose…
Browse files Browse the repository at this point in the history
…d parenthesis

Keeping the link target around is redundant as `rustdoc` already infers
this from the link name, after removing the backticks.  It uses the
call-parenthesis to enforce that the link target is indeed an `fn`
(and not some other item).
  • Loading branch information
MarijnS95 committed May 7, 2024
1 parent 360e270 commit 79e569e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wayland-client/src/event_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ impl<State> std::fmt::Debug for QueueEvent<State> {
/// In a case where you app is multithreaded and you want to process events in multiple thread, a simple
/// pattern is to have one [`EventQueue`] per thread processing Wayland events.
///
/// With this pattern, each thread can use [`EventQueue::blocking_dispatch()`](EventQueue::blocking_dispatch
/// With this pattern, each thread can use [`EventQueue::blocking_dispatch()`]
/// on its own event loop, and everything will "Just Work".
///
/// ### Single-queue guest library
Expand Down

0 comments on commit 79e569e

Please sign in to comment.