From 4e278fead514fddf0322dc96178e4b265967f227 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Tue, 18 Jul 2023 18:23:55 -0700 Subject: [PATCH] rustfmt --- packages/desktop/src/file_upload.rs | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/desktop/src/file_upload.rs b/packages/desktop/src/file_upload.rs index eab06c2cb..778c209ac 100644 --- a/packages/desktop/src/file_upload.rs +++ b/packages/desktop/src/file_upload.rs @@ -51,26 +51,26 @@ fn get_file_event_for_file( } #[cfg(not(any( -target_os = "windows", -target_os = "macos", -target_os = "linux", -target_os = "dragonfly", -target_os = "freebsd", -target_os = "netbsd", -target_os = "openbsd" + target_os = "windows", + target_os = "macos", + target_os = "linux", + target_os = "dragonfly", + target_os = "freebsd", + target_os = "netbsd", + target_os = "openbsd" )))] pub(crate) fn get_file_event(_request: &FileDialogRequest) -> Vec { vec![] } #[cfg(any( -target_os = "windows", -target_os = "macos", -target_os = "linux", -target_os = "dragonfly", -target_os = "freebsd", -target_os = "netbsd", -target_os = "openbsd" + target_os = "windows", + target_os = "macos", + target_os = "linux", + target_os = "dragonfly", + target_os = "freebsd", + target_os = "netbsd", + target_os = "openbsd" ))] pub(crate) fn get_file_event(request: &FileDialogRequest) -> Vec { let dialog = rfd::FileDialog::new();