![]() Update the documentation comment to correctly state that the function responds to spacebar presses rather than mouse clicks. This aligns the documentation with the actual implementation, which was already using keyboard input. # Objective - Fix incorrect documentation comment for the cycle_modes function that inaccurately described using mouse input when the implementation actually uses spacebar. - This ensures documentation accuracy and prevents confusion for new learners. ## Solution - Updated the documentation comment to correctly state that the function responds to spacebar presses rather than mouse clicks. - The code functionality remains unchanged. |
||
---|---|---|
.. | ||
clear_color.rs | ||
custom_cursor_image.rs | ||
custom_user_event.rs | ||
low_power.rs | ||
monitor_info.rs | ||
multiple_windows.rs | ||
scale_factor_override.rs | ||
screenshot.rs | ||
transparent_window.rs | ||
window_drag_move.rs | ||
window_resizing.rs | ||
window_settings.rs |