chore: fix unused parallel trie const without std (#21610)

This commit is contained in:
Dan Cline
2026-01-29 23:05:32 +00:00
committed by GitHub
parent 7ec5ff6483
commit b8f27b73ad

View File

@@ -994,6 +994,7 @@ where
S: SparseTrieTrait + SparseTrieExt + Default + Clone,
{
/// Minimum number of storage tries before parallel pruning is enabled.
#[cfg(feature = "std")]
const PARALLEL_PRUNE_THRESHOLD: usize = 16;
/// Returns true if parallelism should be enabled for pruning the given number of tries.