aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 1698968..383175d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,5 +1,4 @@
mod error;
-mod main_result;
use std::{
cmp::Reverse,
@@ -14,9 +13,12 @@ use std::{
process::{Command, Stdio},
};
-use tempfile::tempdir;
+use {
+ proxit::MainResult,
+ tempfile::tempdir,
+};
-use {error::Error, main_result::MainResult};
+use error::Error;
#[derive(Default)]
struct Flags {
@@ -27,7 +29,7 @@ struct Flags {
pub verbose: bool,
}
-fn main() -> MainResult {
+fn main() -> MainResult<(), Error> {
work().into()
}