mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-06 02:29:57 +02:00
Greatly improve logic for selecting smart target file
This commit is contained in:
parent
ff8c644194
commit
149e98a887
2 changed files with 166 additions and 2 deletions
|
@ -48,6 +48,11 @@ pub fn print_error<E: Fail>(err: E) {
|
|||
}
|
||||
}
|
||||
|
||||
/// Quit the application regularly.
|
||||
pub fn quit() -> ! {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
/// Quit the application with an error code,
|
||||
/// and print the given error.
|
||||
pub fn quit_error<E: Fail>(err: E) -> ! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue