summaryrefslogtreecommitdiff
path: root/cli/windows_util.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-07-15 12:30:25 -0400
committerGitHub <noreply@github.com>2022-07-15 12:30:25 -0400
commit635eed93731c3616cacf53860b9aeeeb8cfe158b (patch)
tree04509d5720189fe12b2021500c461ccea1ddfa8e /cli/windows_util.rs
parentee0c0586b318fe23908a3b9b4311b26d79c5c8a1 (diff)
chore: fix Windows specific clippy errors (#15212)
Diffstat (limited to 'cli/windows_util.rs')
-rw-r--r--cli/windows_util.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/windows_util.rs b/cli/windows_util.rs
index deab9f38a..0801ff2f5 100644
--- a/cli/windows_util.rs
+++ b/cli/windows_util.rs
@@ -5,6 +5,7 @@
/// constructed from a stdio handle; if the handle is null this causes a panic.
pub fn ensure_stdio_open() {
#[cfg(windows)]
+ // SAFETY: winapi calls
unsafe {
use std::mem::size_of;
use winapi::shared::minwindef::DWORD;