From b0a082016c3ce968934da1475e310630e9f0c802 Mon Sep 17 00:00:00 2001 From: Artem Vorotnikov Date: Mon, 16 Sep 2024 18:33:12 +0300 Subject: [PATCH] Fix derive_more import --- src/codec.rs | 2 +- src/orm/impls.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/codec.rs b/src/codec.rs index e853459..5bdcf24 100644 --- a/src/codec.rs +++ b/src/codec.rs @@ -1,5 +1,5 @@ use crate::{error::mdbx_result, Error, TransactionKind}; -use derive_more::*; +use derive_more::{Deref, DerefMut, Display}; use std::{borrow::Cow, slice}; use thiserror::Error; diff --git a/src/orm/impls.rs b/src/orm/impls.rs index b7a4daf..5ef7911 100644 --- a/src/orm/impls.rs +++ b/src/orm/impls.rs @@ -1,8 +1,7 @@ use super::traits::*; use anyhow::bail; use arrayvec::ArrayVec; -use derive_more::*; -use std::fmt::Display; +use derive_more::{Deref, DerefMut, Display, From}; #[derive( Clone,