Skip to content

Commit

Permalink
x fmt library/std
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Nov 22, 2023
1 parent 605e388 commit 0e4f04c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions library/std/src/sys/windows/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -917,9 +917,8 @@ fn make_proc_thread_attribute_list(
)
};

let mut proc_thread_attribute_list = ProcThreadAttributeList(
vec![MaybeUninit::uninit(); required_size].into_boxed_slice(),
);
let mut proc_thread_attribute_list =
ProcThreadAttributeList(vec![MaybeUninit::uninit(); required_size].into_boxed_slice());

// Once we've allocated the necessary memory, it's safe to invoke
// `InitializeProcThreadAttributeList` to properly initialize the list.
Expand Down

0 comments on commit 0e4f04c

Please sign in to comment.