Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
R3DP1XL committed Dec 17, 2021
1 parent 79e3250 commit 7f5455c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugin/core/src/time/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl Timer {

/// Sets the elapsed time of the timer without any other considerations.
///
/// See also [`Stopwatch::set`](Stopwatch::set).
/// See also [`Stopwatch::set_elapsed`](Stopwatch::set_elapsed).
///
/// #
/// ```
Expand Down
4 changes: 2 additions & 2 deletions plugin/input/src/gamepad.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ impl ButtonAxisSettings {
}
}

/// Monitors gamepad connection and disconnection events, updating the [`GamepadLobby`] resource accordingly
/// Monitors gamepad connection and disconnection events, updating the [`Gamepads`] resource accordingly
///
/// By default, runs during `CoreStage::PreUpdate` when added via [`InputPlugin`].
/// By default, runs during `CoreStage::PreUpdate` when added via [`crate::InputPlugin`].
pub fn gamepad_connection_system(
mut gamepads: ResMut<'_, Gamepads>,
mut gamepad_event: EventReader<'_, '_, GamepadEvent>,
Expand Down
4 changes: 2 additions & 2 deletions plugin/window/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,8 @@ pub struct WindowDescriptor {
/// - iOS / Android / Web: Unsupported.
/// - macOS X: Not working as expected.
/// - Windows 11: Not working as expected
/// macOS X transparent works with winit out of the box, so this issue might be related to: https://github.com/gfx-rs/wgpu/issues/687
/// Windows 11 is related to https://github.com/rust-windowing/winit/issues/2082
/// macOS X transparent works with winit out of the box, so this issue might be related to: <https://github.com/gfx-rs/wgpu/issues/687>
/// Windows 11 is related to <https://github.com/rust-windowing/winit/issues/2082>
pub transparent: bool,
#[cfg(target_arch = "wasm32")]
pub canvas: Option<String>,
Expand Down

0 comments on commit 7f5455c

Please sign in to comment.