summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-07-23 19:21:03 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-07-23 19:31:41 -0400
commit4f568db968cced94eb282d1353e43625ee8811bb (patch)
treefc823896fa00c4e19ef5c2a2bb1b703314bba5d2 /src/cli.rs
parent5429d2ab901380a92535e31c8cce6646e9b11c4f (diff)
Retire the `result` module.
It didn't add much to have our own Result definition, over using `anyhow::Result` directly.
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;