From 81fdab2b10a3e85ddef0eb8608b507a3c4259791 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 26 May 2020 22:48:08 +0200 Subject: [PATCH] Fix doc typo --- src/sdl2/controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl2/controller.rs b/src/sdl2/controller.rs index abf72f9f..300994dd 100644 --- a/src/sdl2/controller.rs +++ b/src/sdl2/controller.rs @@ -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 {