{flake.lock,Cargo.*}: bump, cargo clippy + fmt
Some checks failed
Build and test / check (push) Successful in 10m36s
Build and test / build (push) Successful in 10m56s
Build and test / docs (push) Has been cancelled

This commit is contained in:
2025-08-03 05:06:10 +02:00
parent ec9310bce0
commit 652fb6a6a1
4 changed files with 245 additions and 202 deletions

View File

@@ -14,8 +14,8 @@ fn important_thread() {
let requested_priority = 40;
let actual_priority = make_current_thread_realtime(Some(requested_priority));
match actual_priority {
Ok(actual_priority) => println!("Requested priority: {}, Actual priority: {}", requested_priority, actual_priority),
Ok(actual_priority) => println!("Requested priority: {requested_priority}, Actual priority: {actual_priority}"),
Err(Error::PermissionDenied) => println!("Permission denied. Do you have polkit rules set up, or otherwise have the necessary permissions?"),
Err(e) => println!("Internal zbus error: {}", e),
Err(e) => println!("Internal zbus error: {e}"),
}
}