diff --git a/src/raw/client.rs b/src/raw/client.rs index 0c56012..c83e00d 100644 --- a/src/raw/client.rs +++ b/src/raw/client.rs @@ -3,10 +3,10 @@ use serde::Serialize; use ureq::Agent; -use crate::Error; use super::endpoint::Endpoint; use super::request::*; use super::response::*; +use crate::Error; const API_ROOT_URL: &str = "https://api.listenbrainz.org/1/"; diff --git a/src/wrapper.rs b/src/wrapper.rs index 33af686..c27c577 100644 --- a/src/wrapper.rs +++ b/src/wrapper.rs @@ -2,8 +2,8 @@ use std::convert::TryInto; use std::time::{SystemTime, UNIX_EPOCH}; use crate::error::Error; -use crate::raw::Client; use crate::raw::request::{ListenType, Payload, SubmitListens, TrackMetadata}; +use crate::raw::Client; /// Contains a ListenBrainz token and the associated username /// for authentication purposes.