From 1b72bf35cc09dbbe12e355688855b945187b7464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20R=C3=B8yset?= Date: Sun, 3 Jul 2022 10:47:08 +0200 Subject: [PATCH] Subjective improvements --- src/platform/run_return.rs | 2 +- src/window.rs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/platform/run_return.rs b/src/platform/run_return.rs index 5c254615409..5013823bc11 100644 --- a/src/platform/run_return.rs +++ b/src/platform/run_return.rs @@ -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(&mut self, event_handler: F) -> i32 where diff --git a/src/window.rs b/src/window.rs index bb78df60e42..84644cd22ed 100644 --- a/src/window.rs +++ b/src/window.rs @@ -650,10 +650,7 @@ impl Window { /// /// This only has an effect on desktop platforms. /// - /// Due to a bug in XFCE, this has no effect on Xfwm. - /// - /// ## Platform-specific - /// + /// - **X11:** Due to a bug in XFCE, this has no effect on Xfwm. /// - **iOS / Android / Web:** Unsupported. /// /// [`WindowEvent::Resized`]: crate::event::WindowEvent::Resized