Skip to content

Commit ea20e21

Browse files
committed
Errors and warnings
1 parent 3ba2197 commit ea20e21

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

crates/env/src/engine/on_chain/impls/pallet_contracts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ impl EnvBackend for EnvInstance {
296296
where
297297
R: alloy_rlp::Encodable,
298298
{
299-
let mut scope = super::EncodeScope::from(&mut self.buffer[..]);
299+
let mut scope = EncodeScope::from(&mut self.buffer[..]);
300300
return_value.encode(&mut scope);
301301
let len = scope.len();
302302
ext::return_value(flags, &self.buffer[..][..len]);

crates/env/src/types.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@
3131
//! there is no knowledge of the concrete types, the functionality is restricted to
3232
//! the trait bounds on the `Environment` trait types.
3333
34-
use crate::{
35-
arithmetic::AtLeast32BitUnsigned,
36-
Result,
37-
};
34+
use crate::arithmetic::AtLeast32BitUnsigned;
3835
use ink_primitives::{
3936
AccountId,
4037
Clear,

0 commit comments

Comments
 (0)