From cc9b2f2784c327ea50b824aee68875d7022e30e7 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sat, 10 Aug 2024 08:10:59 -0700 Subject: [PATCH] m: Fix indent in doc comment This silences clippy. Signed-off-by: John Nunley --- src/loop_logic.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/loop_logic.rs b/src/loop_logic.rs index 43cd621a..a1c5ebaa 100644 --- a/src/loop_logic.rs +++ b/src/loop_logic.rs @@ -705,9 +705,10 @@ impl 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,