From 103b9a59f4040490a2b3312b2e3165366027c8a1 Mon Sep 17 00:00:00 2001 From: mihaicalinluca Date: Wed, 4 Oct 2023 12:52:06 +0200 Subject: [PATCH] fixed clippy --- contracts/mvx-game-sc/src/private.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mvx-game-sc/src/private.rs b/contracts/mvx-game-sc/src/private.rs index 861e48e0..d68e3b0e 100644 --- a/contracts/mvx-game-sc/src/private.rs +++ b/contracts/mvx-game-sc/src/private.rs @@ -162,7 +162,7 @@ pub trait PrivateModule: crate::storage::StorageModule { return 1u64; } let last_id = self.last_game_id().get(); - return last_id + 1u64; + last_id + 1u64 } fn get_min_max(&self, a: u64, b: u64) -> (u64, u64) {