Skip to content

Commit a52e50b

Browse files
Merge pull request #329 from Rhelvetican/master
fix a typo
2 parents 48e4ccd + a76e8fe commit a52e50b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/window/video_mode.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl VideoMode {
7575

7676
/// Static Method, get the current desktop video mode
7777
///
78-
/// return the urrent desktop video mode
78+
/// return the current desktop video mode
7979
#[must_use]
8080
pub fn desktop_mode() -> Self {
8181
thread_safety::set_window_thread();
@@ -98,6 +98,7 @@ impl VideoMode {
9898
pub fn fullscreen_modes() -> &'static ffi::sfVideoModeVector {
9999
unsafe { &*ffi::sfVideoMode_getFullscreenModes() }
100100
}
101+
101102
pub(crate) fn raw(&self) -> ffi::sfVideoMode {
102103
ffi::sfVideoMode {
103104
width: self.width,

0 commit comments

Comments
 (0)