Fix mentions of Wasm (#2950)
This commit is contained in:
parent
3b2d1a7643
commit
44e2f95331
3 changed files with 10 additions and 8 deletions
|
|
@ -189,7 +189,7 @@ pub enum ControlFlow {
|
|||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - **Android / iOS / WASM:** The supplied exit code is unused.
|
||||
/// - **Android / iOS / Web:** The supplied exit code is unused.
|
||||
/// - **Unix:** On most Unix-like platforms, only the 8 least significant bits will be used,
|
||||
/// which can cause surprises with negative exit values (`-42` would end up as `214`). See
|
||||
/// [`std::process::exit`].
|
||||
|
|
|
|||
|
|
@ -445,7 +445,7 @@ impl WindowBuilder {
|
|||
/// to the client area of its parent window. For more information, see
|
||||
/// <https://docs.microsoft.com/en-us/windows/win32/winmsg/window-features#child-windows>
|
||||
/// - **X11**: A child window is confined to the client area of its parent window.
|
||||
/// - **Android / iOS / Wayland:** Unsupported.
|
||||
/// - **Android / iOS / Wayland / Web:** Unsupported.
|
||||
#[inline]
|
||||
pub unsafe fn with_parent_window(mut self, parent_window: Option<RawWindowHandle>) -> Self {
|
||||
self.window.parent_window = parent_window;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue