Skip to content

Commit

Permalink
*actually* sort HRESULT consts
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlie Davis committed Jun 9, 2024
1 parent 299e667 commit ed40399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libs/result/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ mod winerror {
// It's just as easy to use them on Windows, too.

// Keep sorted by numeric value
pub const E_OUTOFMEMORY: HRESULT = HRESULT::from_u32(0x8007000E);
pub const E_UNEXPECTED: HRESULT = HRESULT::from_u32(0x8000FFFF);
pub const E_FAIL: HRESULT = HRESULT::from_u32(0x80004005);
pub const E_OUTOFMEMORY: HRESULT = HRESULT::from_u32(0x8007000E);
pub const E_INVALIDARG: HRESULT = HRESULT::from_u32(0x80070057);

// Keep sorted by numeric value
Expand Down

0 comments on commit ed40399

Please sign in to comment.