Fix missing quote (#3068)

This commit is contained in:
Mads Marquart 2023-08-30 13:59:23 +02:00 committed by GitHub
parent bb9b629bc3
commit 5f1a4b65ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -395,7 +395,7 @@ impl WindowBuilder {
/// ///
/// - **macOS:** This is an app-wide setting. /// - **macOS:** This is an app-wide setting.
/// - **Wayland:** This control only CSD. You can also use `WINIT_WAYLAND_CSD_THEME` env variable to set the theme. /// - **Wayland:** This control only CSD. You can also use `WINIT_WAYLAND_CSD_THEME` env variable to set the theme.
/// Possible values for env variable are: "dark" and light". /// Possible values for env variable are: "dark" and "light".
/// - **x11:** Build window with `_GTK_THEME_VARIANT` hint set to `dark` or `light`. /// - **x11:** Build window with `_GTK_THEME_VARIANT` hint set to `dark` or `light`.
/// - **iOS / Android / Web / x11 / Orbital:** Ignored. /// - **iOS / Android / Web / x11 / Orbital:** Ignored.
#[inline] #[inline]
@ -1245,7 +1245,7 @@ impl Window {
/// ///
/// - **macOS:** This is an app-wide setting. /// - **macOS:** This is an app-wide setting.
/// - **Wayland:** You can also use `WINIT_WAYLAND_CSD_THEME` env variable to set the theme. /// - **Wayland:** You can also use `WINIT_WAYLAND_CSD_THEME` env variable to set the theme.
/// Possible values for env variable are: "dark" and light". When unspecified, a theme is automatically selected. /// Possible values for env variable are: "dark" and "light". When unspecified, a theme is automatically selected.
/// - **X11:** Sets `_GTK_THEME_VARIANT` hint to `dark` or `light` and if `None` is used, it will default to [`Theme::Dark`]. /// - **X11:** Sets `_GTK_THEME_VARIANT` hint to `dark` or `light` and if `None` is used, it will default to [`Theme::Dark`].
/// - **iOS / Android / Web / Orbital:** Unsupported. /// - **iOS / Android / Web / Orbital:** Unsupported.
#[inline] #[inline]