Skip to content

Commit

Permalink
m: Fix indent in doc comment
Browse files Browse the repository at this point in the history
This silences clippy.

Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Aug 10, 2024
1 parent ac7e5e7 commit cc9b2f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/loop_logic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,9 +705,10 @@ impl<Data> AsHandle for EventLoop<'_, Data> {
/// The EventIterator is an `Iterator` over the events relevant to a particular source
/// This type is used in the [`EventSource::before_handle_events`] methods for
/// two main reasons:
///
/// - To avoid dynamic dispatch overhead
/// - Secondly, it is to allow this type to be `Clone`, which is not
/// possible with dynamic dispatch
/// possible with dynamic dispatch
pub struct EventIterator<'a> {
inner: slice::Iter<'a, PollEvent>,
registration_token: RegistrationToken,
Expand Down

0 comments on commit cc9b2f2

Please sign in to comment.