Group use of std under one root.

This commit is contained in:
Stephen Chung
2020-03-10 10:07:44 +08:00
parent bae9946291
commit feaad4e0da
4 changed files with 24 additions and 22 deletions

View File

@@ -4,12 +4,14 @@ use crate::any::{Any, AnyExt, Dynamic, Variant};
use crate::parser::{Expr, FnDef, Position, Stmt};
use crate::result::EvalAltResult;
use crate::scope::Scope;
use std::any::{type_name, TypeId};
use std::borrow::Cow;
use std::cmp::{PartialEq, PartialOrd};
use std::collections::HashMap;
use std::iter::once;
use std::sync::Arc;
use std::{
any::{type_name, TypeId},
borrow::Cow,
cmp::{PartialEq, PartialOrd},
collections::HashMap,
iter::once,
sync::Arc,
};
/// An dynamic array of `Dynamic` values.
pub type Array = Vec<Dynamic>;