diff options
author | Daniel Mueller <deso@posteo.net> | 2018-12-11 18:48:19 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2018-12-11 18:48:19 -0800 |
commit | 056e0b6870d646dc6221bea9e47f5afea98647fa (patch) | |
tree | 4abbb56e9b2a18b22ba481c3add0b4d0e8f05a56 /nitrocli/src/error.rs | |
parent | 1498caf2f050b0a509689ab6e65a0daac062c76e (diff) | |
download | nitrocli-056e0b6870d646dc6221bea9e47f5afea98647fa.tar.gz nitrocli-056e0b6870d646dc6221bea9e47f5afea98647fa.tar.bz2 |
Compile program with 2018 Edition of Rust
With the 1.31 release of Rust support for Edition 2018 has reached
the stable tool chain.
This change enables compilation based off of this new edition for the
crate. This change resolves issue #6.
Diffstat (limited to 'nitrocli/src/error.rs')
-rw-r--r-- | nitrocli/src/error.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nitrocli/src/error.rs b/nitrocli/src/error.rs index 3d68401..5d6b266 100644 --- a/nitrocli/src/error.rs +++ b/nitrocli/src/error.rs @@ -21,6 +21,8 @@ use std::fmt; use std::io; use std::string; +use libhid; + #[derive(Debug)] pub enum Error { |