From 79418a2b49209f3df230d364cb304585ff9ca78d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20St=C3=B6rzbach?= Date: Tue, 31 Oct 2023 00:00:16 +0100 Subject: [PATCH] Fixed formatting --- msfs/src/network.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/msfs/src/network.rs b/msfs/src/network.rs index 4e23119adf..9d92836d7d 100644 --- a/msfs/src/network.rs +++ b/msfs/src/network.rs @@ -72,7 +72,8 @@ impl<'a> NetworkRequestBuilder<'a> { ) -> sys::FsNetworkRequestId, ) -> Option { // SAFETY: we need a *mut i8 for the FsNetworkHttpRequestParam struct but this should be fine. - let raw_post_field = post_field.map_or(ptr::null_mut(), |f| f.as_c_str().as_ptr() as *mut i8); + let raw_post_field = + post_field.map_or(ptr::null_mut(), |f| f.as_c_str().as_ptr() as *mut i8); let mut params = self.generate_params(raw_post_field); let callback_data = self.callback.map_or(ptr::null_mut(), Box::into_raw) as *mut _; let request_id = unsafe {