From 1df4c4cc8b660ea450fb66f424736447178d63e5 Mon Sep 17 00:00:00 2001 From: MultisampledNight Date: Wed, 15 Dec 2021 21:32:12 +0100 Subject: [PATCH] Improve documentation wording on the exit code --- src/event_loop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event_loop.rs b/src/event_loop.rs index 54a97207d..756545f4a 100644 --- a/src/event_loop.rs +++ b/src/event_loop.rs @@ -88,7 +88,7 @@ pub enum ControlFlow { /// Send a `LoopDestroyed` event and stop the event loop. This variant is *sticky* - once set, /// `control_flow` cannot be changed from `Exit`, and any future attempts to do so will result /// in the `control_flow` parameter being reset to `Exit`. The contained number will be used as - /// exit code, if the platform supports exiting with one. + /// exit code, if the platform supports that (this means _not_ ios, android and wasm32). Exit(i32), }