Skip to content

Commit c54579c

Browse files
committed
Format
1 parent d3e2820 commit c54579c

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

src/dbghelp.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@
2626
use alloc::vec::Vec;
2727

2828
use windows_sys::{
29-
core::*,
30-
Win32::Foundation::*, Win32::System::Diagnostics::Debug::*,
29+
core::*, Win32::Foundation::*, Win32::Globalization::*, Win32::System::Diagnostics::Debug::*,
3130
Win32::System::LibraryLoader::*, Win32::System::Threading::*,
32-
Win32::System::WindowsProgramming::*, Win32::Globalization::*,
31+
Win32::System::WindowsProgramming::*,
3332
};
3433

3534
use super::windows::*;
@@ -378,7 +377,7 @@ fn set_optional_options() -> Option<()> {
378377
) == TRUE
379378
{
380379
// Trim the buffer to the actual length of the string.
381-
let len = lstrlenW(search_path_buf.as_mut_ptr());
380+
let len = lstrlenW(search_path_buf.as_mut_ptr());
382381
assert!(len >= 0);
383382
search_path_buf.truncate(len as usize);
384383
} else {

src/symbolize/dbghelp.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#![allow(bad_style)]
1919

2020
use windows_sys::{
21-
Win32::Foundation::*, Win32::System::Diagnostics::Debug::*, Win32::System::Threading::*,
22-
Win32::Globalization::*,
21+
Win32::Foundation::*, Win32::Globalization::*, Win32::System::Diagnostics::Debug::*,
22+
Win32::System::Threading::*,
2323
};
2424

2525
use super::super::{dbghelp, windows::*};

src/windows.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
use windows_sys::Win32::Foundation::*;
32

43
pub const TRUE: BOOL = 1;

0 commit comments

Comments
 (0)