Add rustfmt.toml (same as core and server) and apply cargo fmt

Formatting only. CI now runs cargo fmt --check here as in the other Rust repos.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-17 00:49:00 +09:00
co-authored by Claude Opus 5.5
parent 923c466dea
commit 578ae57a0a
7 changed files with 61 additions and 60 deletions
+1 -9
View File
@@ -389,15 +389,7 @@ mod imp {
let name = wide(&pipe_name());
// SAFETY: name is NUL-terminated; the handle is owned by File on success.
let h = unsafe {
CreateFileW(
name.as_ptr(),
GENERIC_READ | GENERIC_WRITE,
0,
ptr::null(),
OPEN_EXISTING,
0,
ptr::null_mut(),
)
CreateFileW(name.as_ptr(), GENERIC_READ | GENERIC_WRITE, 0, ptr::null(), OPEN_EXISTING, 0, ptr::null_mut())
};
if h == INVALID_HANDLE_VALUE {
return Err(io::Error::last_os_error());