update dependencies

This commit is contained in:
crapStone 2021-04-18 23:58:11 +02:00
parent 9e9302d050
commit f89cdae359
No known key found for this signature in database
GPG key ID: A850FDCE6366E643
3 changed files with 15 additions and 15 deletions

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);