chore: fix some typos in comments (#7752)

Signed-off-by: writegr <wellweek@outlook.com>
This commit is contained in:
writegr
2024-04-18 14:39:38 +08:00
committed by GitHub
parent 4252b5e273
commit 9b2ec62be9
4 changed files with 4 additions and 4 deletions

View File

@@ -1874,7 +1874,7 @@ pub fn current_resolution(name: &str) -> ResultType<Resolution> {
dm.dmSize = std::mem::size_of::<DEVMODEW>() as _;
if EnumDisplaySettingsW(device_name.as_ptr(), ENUM_CURRENT_SETTINGS, &mut dm) == 0 {
bail!(
"failed to get currrent resolution, error {}",
"failed to get current resolution, error {}",
io::Error::last_os_error()
);
}