chore: apply reviewers comment

This commit is contained in:
quake
2022-09-05 19:22:30 +09:00
parent 239438754c
commit d515eaf7cd
3 changed files with 19 additions and 5 deletions

View File

@@ -10,6 +10,9 @@ use crate::func::{
};
use crate::types::dynamic::AccessMode;
use crate::{Dynamic, Engine, Module, Position, RhaiResult, RhaiResultOf, Scope, ERR};
#[cfg(feature = "no_std")]
use hashbrown::hash_map::Entry;
#[cfg(not(feature = "no_std"))]
use std::collections::hash_map::Entry;
use std::num::NonZeroUsize;
#[cfg(feature = "no_std")]