Re-export InMemStorageError unconditionally

This commit is contained in:
Temirkhan Myrzamadi 2021-05-08 17:25:53 +06:00
parent 08bf40e555
commit 58c8015e78

View file

@ -166,9 +166,9 @@ pub use teloxide_macros::Transition;
#[cfg(feature = "redis-storage")]
#[cfg_attr(all(docsrs, feature = "nightly"), doc(cfg(feature = "redis-storage")))]
pub use storage::{InMemStorageError, RedisStorage, RedisStorageError};
pub use storage::{RedisStorage, RedisStorageError};
#[cfg(feature = "sqlite-storage")]
pub use storage::{SqliteStorage, SqliteStorageError};
pub use storage::{serializer, InMemStorage, Serializer, Storage, TraceStorage};
pub use storage::{serializer, InMemStorage, InMemStorageError, Serializer, Storage, TraceStorage};