We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7d6b25 commit 6d2b2fbCopy full SHA for 6d2b2fb
substrate/frame/staking/src/lib.rs
@@ -282,6 +282,8 @@
282
#![cfg_attr(not(feature = "std"), no_std)]
283
#![recursion_limit = "256"]
284
285
+extern crate alloc;
286
+
287
#[cfg(feature = "runtime-benchmarks")]
288
pub mod benchmarking;
289
#[cfg(any(feature = "runtime-benchmarks", test))]
substrate/frame/staking/src/pallet/mod.rs
@@ -50,7 +50,7 @@ const STAKING_ID: LockIdentifier = *b"staking ";
50
51
#[frame_support::pallet]
52
pub mod pallet {
53
- use std::collections::BTreeSet;
+ use alloc::collections::BTreeSet;
54
55
use frame_election_provider_support::ElectionDataProvider;
56
0 commit comments