summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 75bb5ef..96758be 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -1,5 +1,6 @@
use std::fmt::Debug;
+use anyhow::Result;
use clap::Parser;
use trust_dns_proto::rr::Name;
@@ -38,10 +39,8 @@ pub struct Args {
apply: bool,
}
-pub type Result = crate::result::Result<()>;
-
impl Args {
- pub async fn run(self) -> Result {
+ pub async fn run(self) -> Result<()> {
let args = Args::parse();
let name = args.autoscaling_group;