rust-sdk: Remove some unused imports.

This commit is contained in:
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
// 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::result::Result as StdResult;
use std::sync::Arc;

View file

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