update dependencies

This commit is contained in:
crapStone
2021-08-22 15:21:45 +02:00
parent 9e9302d050
commit f89cdae359
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ fn main() {
Some("raw") => Box::new(RawController::new(p)),
Some("lin") => Box::new(LinController::new(p)),
Some("log") => Box::new(LogController::new(p)),
Some(_) | None => panic!(ERROR_MSG),
Some(_) | None => panic!("{}", ERROR_MSG),
};
if matches.is_present("list") {
@@ -41,7 +41,7 @@ fn main() {
} else if matches.is_present("ful") {
controller.set_brightness(controller.get_max_brightness());
} else {
panic!(ERROR_MSG);
panic!("{}", ERROR_MSG);
}
exit(exitcode::OK);