summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/deviceinfo.rs2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/deviceinfo.rs b/src/deviceinfo.rs
index 9097433..7239294 100644
--- a/src/deviceinfo.rs
+++ b/src/deviceinfo.rs
@@ -1,4 +1,4 @@
-use anyhow::*;
+use anyhow::{anyhow, bail, Context, Result};
use evdev_rs::Device;
use std::cmp::Ordering;
use std::path::PathBuf;
diff --git a/src/main.rs b/src/main.rs
index b1feb46..0635a30 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,6 @@
use crate::mapping::*;
use crate::remapper::*;
-use anyhow::*;
+use anyhow::{Context, Result};
use std::path::PathBuf;
use std::time::Duration;
use structopt::StructOpt;