Skip to content

Commit

Permalink
Ran cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturKovacs committed May 6, 2021
1 parent 681d7b4 commit 42884ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ unsafe fn bind_to_csidl<T: Interface>(csidl: c_int) -> Result<T, Error> {
description: "`SHGetDesktopFolder` set its output to `None`.".into(),
})?;
if (*pidl).mkid.cb != 0 {
let target: T = check_res_and_get_ok!{ desktop.BindToObject(pidl, None) };
let target: T = check_res_and_get_ok! { desktop.BindToObject(pidl, None) };
Ok(target)
} else {
Ok(desktop.cast().map_err(into_unknown)?)
Expand Down

0 comments on commit 42884ae

Please sign in to comment.