diff --git a/.rustfmt.toml b/.rustfmt.toml index b176488..61b698e 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -16,5 +16,5 @@ imports_granularity = "Crate" imports_layout = "HorizontalVertical" reorder_impl_items = true struct_field_align_threshold = 120 -version = "Two" +style_edition = "2021" wrap_comments = true diff --git a/src/msgs/data_requests/sudo_tests.rs b/src/msgs/data_requests/sudo_tests.rs index f376566..de21330 100644 --- a/src/msgs/data_requests/sudo_tests.rs +++ b/src/msgs/data_requests/sudo_tests.rs @@ -3,7 +3,7 @@ use serde_json::json; #[cfg(feature = "cosmwasm")] use super::Bytes; -use super::{DataResult, SudoMsg, sudo::*}; +use super::{sudo::*, DataResult, SudoMsg}; use crate::msgs::*; #[test] diff --git a/src/msgs/data_requests/types.rs b/src/msgs/data_requests/types.rs index 0f2d0b4..13eb9b2 100644 --- a/src/msgs/data_requests/types.rs +++ b/src/msgs/data_requests/types.rs @@ -1,5 +1,5 @@ #[cfg(not(feature = "cosmwasm"))] -use base64::{Engine, prelude::BASE64_STANDARD}; +use base64::{prelude::BASE64_STANDARD, Engine}; #[cfg(feature = "cosmwasm")] use cw_storage_plus::{Key, Prefixer, PrimaryKey}; use semver::Version;