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:
1 parent
7565e62571
commit
757bebbb1d
6 files changed
+20
-21
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user