Tidy up "platform-specifc" doc sections (#2356)

* Tidy up "platform-specific" doc sections

* Unrelated grammatical fix

* Subjective improvements
This commit is contained in:
Markus Røyset
2022-07-20 13:45:12 +02:00
committed by GitHub
parent f09259f6de
commit 5397b53e04
4 changed files with 34 additions and 28 deletions

View File

@@ -37,7 +37,7 @@ pub trait EventLoopExtRunReturn {
///
/// ## Platform-specific
///
/// - **Unix-alikes** (**X11** or **Wayland**): This function returns `1` upon disconnection from
/// - **X11 / Wayland:** This function returns `1` upon disconnection from
/// the display server.
fn run_return<F>(&mut self, event_handler: F) -> i32
where