Skip to content

Commit 00cc2e8

Browse files
committed
refactor(port_std): use "alternate" hexadecimal formatting
Ditto.
1 parent f4e9ce1 commit 00cc2e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/r3_port_std/src/threading_windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl<T: ?Sized> IsNull for *mut T {
207207
/// Panic with an error code returned by `GetLastError`.
208208
#[cold]
209209
fn panic_last_error() -> ! {
210-
panic!("Win32 error 0x{:08x}", unsafe {
210+
panic!("Win32 error {:#08x}", unsafe {
211211
errhandlingapi::GetLastError()
212212
});
213213
}

0 commit comments

Comments
 (0)