mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 23:54:48 +01:00
Formatting
This commit is contained in:
@@ -247,7 +247,7 @@ pub fn service_status(service: String) -> bool {
|
||||
|
||||
#[cfg(unix)]
|
||||
#[tauri::command]
|
||||
pub fn service_status(service: String) {}
|
||||
pub fn service_status(_service: String) {}
|
||||
|
||||
#[cfg(windows)]
|
||||
#[tauri::command]
|
||||
@@ -270,7 +270,7 @@ pub fn start_service(service: String) -> bool {
|
||||
|
||||
#[cfg(unix)]
|
||||
#[tauri::command]
|
||||
pub fn start_service(service: String) {
|
||||
pub fn start_service(_service: String) {
|
||||
let started = OsStr::new("Started service!");
|
||||
}
|
||||
|
||||
@@ -295,7 +295,7 @@ pub fn stop_service(service: String) -> bool {
|
||||
|
||||
#[cfg(unix)]
|
||||
#[tauri::command]
|
||||
pub fn stop_service(service: String) {}
|
||||
pub fn stop_service(_service: String) {}
|
||||
|
||||
#[cfg(unix)]
|
||||
#[tauri::command]
|
||||
|
||||
Reference in New Issue
Block a user