mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2026-09-02 22:27:02 +00:00
update dependencies
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user