Skip to content

Commit

Permalink
Fix doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 26, 2020
1 parent 39e9dd9 commit f121d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdl2/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl GameControllerSubsystem {
}
}

/// Attempt to open the controller ad index `joystick_index` and return it.
/// Attempt to open the controller at index `joystick_index` and return it.
/// Controller IDs are the same as joystick IDs and the maximum number can
/// be retrieved using the `SDL_NumJoysticks` function.
pub fn open(&self, joystick_index: u32) -> Result<GameController, IntegerOrSdlError> {
Expand Down

0 comments on commit f121d32

Please sign in to comment.