From 376974c34972ac6a51f5a27257a39074a61977bf Mon Sep 17 00:00:00 2001 From: Nicolas Bigaouette Date: Wed, 31 Aug 2016 22:35:19 -0400 Subject: [PATCH] Fix typo in Loop::run() documentation Simple typo fixed (`becuase` -> `because`) --- src/event_loop/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event_loop/mod.rs b/src/event_loop/mod.rs index 727ca2b78..9e339e26c 100644 --- a/src/event_loop/mod.rs +++ b/src/event_loop/mod.rs @@ -205,7 +205,7 @@ impl Loop { /// the future panics then it's the responsibility of the caller to catch /// that panic and handle it as appropriate. /// - /// Similarly, becuase the provided future will be pinned not only to this + /// Similarly, because the provided future will be pinned not only to this /// thread but also to this task, any attempt to poll the future on a /// separate thread will result in a panic. That is, calls to /// `task::poll_on` must be avoided.