diff --git a/test/rust_grpc/src/generator.rs b/test/rust_grpc/src/generator.rs index fa3d26d..cd13818 100644 --- a/test/rust_grpc/src/generator.rs +++ b/test/rust_grpc/src/generator.rs @@ -235,5 +235,7 @@ pub fn get_current_native_thread_id() -> i64 return os_id::thread::get_raw_id() as i64; #[cfg(target_os = "windows")] - unsafe {return windows::Win32::System::Threading::GetCurrentThreadId() as i64; } + unsafe { + return windows::Win32::System::Threading::GetCurrentThreadId() as i64; + } }