mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
add full api to engine (#50)
Signed-off-by: eric-therond <eric.therond.fr@gmail.com>
This commit is contained in:
+1
-2
@@ -58,8 +58,7 @@ pub fn schedule<Str: Clone + std::cmp::Ord + std::fmt::Debug>(
|
||||
}
|
||||
|
||||
// Order of execution for statements.
|
||||
let mut order = vec![];
|
||||
order.reserve(infos.len());
|
||||
let mut order = Vec::with_capacity(infos.len());
|
||||
|
||||
// Keep track of whether a var has been defined or not.
|
||||
let mut defined_vars = BTreeSet::new();
|
||||
|
||||
Reference in New Issue
Block a user