Skip to content

Commit

Permalink
Fix make_data doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex committed Dec 14, 2024
1 parent b025d7c commit a045b09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wayland-client/src/event_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,8 @@ impl<State: 'static> QueueHandle<State> {
/// // to this impl
/// }
///
/// let obj1 = qh.make_data<WlOutput, (), OutputDispatcher>;
/// let obj2 = qh.make_data<WlSeat, (), SeatDispatcher>;
/// let obj1 = qh.make_data::<WlOutput, (), OutputDispatcher>(());
/// let obj2 = qh.make_data::<WlSeat, (), SeatDispatcher>(());
/// ```
pub fn make_data<I: Proxy + 'static, U: Send + Sync + 'static, DelegateTo>(
&self,
Expand Down

0 comments on commit a045b09

Please sign in to comment.