Skip to content

Commit

Permalink
Syntax error in 1.75 compiler removed
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsso committed Jan 4, 2024
1 parent 2a714a6 commit 5101ba9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utilities/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ pub fn simulate_execution<R>(f: impl FnOnce() -> Result<R, DispatchError>) -> Re
}

#[cfg(test)]
#[allow(unused_imports,dead_code)]

mod tests {
use super::*;
use frame_support::{assert_noop, assert_ok, construct_runtime, pallet_prelude::*, traits::Everything};
Expand All @@ -47,9 +49,9 @@ mod tests {
use sp_runtime::{DispatchError, DispatchResult};
use sp_std::result::Result;

#[allow(dead_code)]
#[frame_support::pallet]
pub mod module {

use super::*;

#[pallet::config]
Expand Down

0 comments on commit 5101ba9

Please sign in to comment.