windows: clippy's suggestions in the service and client (collapsible ifs, next_back)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Opus 5.5 committed 2026-10-27 02:08:25 +03:00
1 parent 7565e62571
commit 757bebbb1d
6 files changed
+20 -21

No files matched your search

+1 -1
View File
@@ -181,7 +181,7 @@ mod secure {
};
let path = wide(root.as_os_str());
// SAFETY: NUL-terminated path; attrs outlives the call.
if unsafe { CreateDirectoryW(path.as_ptr(), &mut attrs) } != 0 {
if unsafe { CreateDirectoryW(path.as_ptr(), &attrs) } != 0 {
return Ok(());
}
// SAFETY: plain call.