diff --git a/crates/ink/src/chain_extension.rs b/crates/ink/src/chain_extension.rs index ba853ac997..a4d615b7b9 100644 --- a/crates/ink/src/chain_extension.rs +++ b/crates/ink/src/chain_extension.rs @@ -151,7 +151,7 @@ macro_rules! combine_extensions { } const _: () = { - /// Each chain extension has an abstract type $name that describes + /// Each chain extension has an abstract type `$name` that describes /// it and the actual instance that provides access to methods. /// This structure is an instance that is returned by the `self.env().extension()` call. /// @@ -172,4 +172,4 @@ macro_rules! combine_extensions { } }; } -} \ No newline at end of file +} diff --git a/integration-tests/combined-extension/lib.rs b/integration-tests/combined-extension/lib.rs index 75d4263c29..7682477135 100755 --- a/integration-tests/combined-extension/lib.rs +++ b/integration-tests/combined-extension/lib.rs @@ -1,10 +1,8 @@ #![cfg_attr(not(feature = "std"), no_std, no_main)] -use ink::{ - env::{ - DefaultEnvironment, - Environment, - }, +use ink::env::{ + DefaultEnvironment, + Environment, }; use psp22_extension::Psp22Extension; use rand_extension::{