Fix formatting.

This commit is contained in:
Stephen Chung 2021-12-27 13:30:44 +08:00
parent dfb3378b28
commit f443e4d9f6
4 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,7 @@ use super::native::{FnAny, SendSync};
use crate::r#unsafe::unsafe_try_cast;
use crate::tokenizer::Position;
use crate::types::dynamic::{DynamicWriteLock, Variant};
use crate::{Dynamic, ERR, NativeCallContext, RhaiResultOf};
use crate::{Dynamic, NativeCallContext, RhaiResultOf, ERR};
#[cfg(feature = "no_std")]
use std::prelude::v1::*;
use std::{any::TypeId, mem};

View File

@ -1,4 +1,4 @@
use crate::{Engine,ERR, Module, ModuleResolver, Position, RhaiResultOf, Shared};
use crate::{Engine, Module, ModuleResolver, Position, RhaiResultOf, Shared, ERR};
use std::ops::AddAssign;
#[cfg(feature = "no_std")]
use std::prelude::v1::*;

View File

@ -1,4 +1,4 @@
use crate::{Engine,ERR, Module, ModuleResolver, Position, RhaiResultOf, Shared};
use crate::{Engine, Module, ModuleResolver, Position, RhaiResultOf, Shared, ERR};
#[cfg(feature = "no_std")]
use std::prelude::v1::*;

View File

@ -3,8 +3,7 @@
use crate::func::native::shared_write_lock;
use crate::{
Engine,ERR, Identifier, Module, ModuleResolver, Position, RhaiResultOf, Scope,
Shared,
Engine, Identifier, Module, ModuleResolver, Position, RhaiResultOf, Scope, Shared, ERR,
};
use std::{