rust-sdk: Remove some unused imports.

master
Damir Jelić 2020-04-23 12:43:59 +02:00
parent a16d3b3d29
commit 986985464a
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,9 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
use std::collections::{BTreeMap, HashMap}; #[cfg(feature = "encryption")]
use std::collections::BTreeMap;
use std::collections::HashMap;
use std::convert::{TryFrom, TryInto}; use std::convert::{TryFrom, TryInto};
use std::result::Result as StdResult; use std::result::Result as StdResult;
use std::sync::Arc; use std::sync::Arc;

View File

@ -290,7 +290,7 @@ impl Into<get_message_events::Request> for MessagesRequestBuilder {
#[cfg(test)] #[cfg(test)]
mod test { mod test {
use std::collections::{BTreeMap, HashMap}; use std::collections::BTreeMap;
use super::*; use super::*;
use crate::events::room::power_levels::NotificationPowerLevels; use crate::events::room::power_levels::NotificationPowerLevels;