aboutsummaryrefslogtreecommitdiffstats
path: root/src/xchan.rs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2019-06-09 19:47:36 +0200
committerHarald Eilertsen <haraldei@anduin.net>2019-06-09 19:47:36 +0200
commiteed9d6ee002e1ad034b3db7057b5a0f8338a736a (patch)
tree979674a5e0ec0dda1f9c515278ca15aa06e7b7df /src/xchan.rs
parent30e648412c33df5f26a951d5f11b9d602a0da149 (diff)
downloadrust-zotapi-eed9d6ee002e1ad034b3db7057b5a0f8338a736a.tar.gz
rust-zotapi-eed9d6ee002e1ad034b3db7057b5a0f8338a736a.tar.bz2
rust-zotapi-eed9d6ee002e1ad034b3db7057b5a0f8338a736a.zip
Use rust edition 2018.
Diffstat (limited to 'src/xchan.rs')
-rw-r--r--src/xchan.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xchan.rs b/src/xchan.rs
index d81758a..c67179c 100644
--- a/src/xchan.rs
+++ b/src/xchan.rs
@@ -14,8 +14,10 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
-use client::{self, Client};
-use error::Error;
+use crate::{
+ client::{self, Client},
+ error::Error,
+};
use serde::{Serialize, Serializer};
enum XChanSelector<'a> {