chore: cargo fmt
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
use hashbrown::HashMap;
|
||||
use std::rc::Rc;
|
||||
|
||||
use crate::ty::internal::{AttrSet, PrimOp, Value};
|
||||
use crate::ty::common::Const;
|
||||
use crate::ty::internal::{AttrSet, PrimOp, Value};
|
||||
use crate::vm::{Env, VM};
|
||||
|
||||
pub fn env<'jit, 'vm>(vm: &'vm VM<'jit>) -> Env<'jit, 'vm> {
|
||||
@@ -52,7 +52,7 @@ pub fn env<'jit, 'vm>(vm: &'vm VM<'jit>) -> Env<'jit, 'vm> {
|
||||
);
|
||||
map.insert(vm.new_sym(primop.name), Value::PrimOp(primop));
|
||||
}
|
||||
let attrs: Rc<_> = Rc::new_cyclic(|weak| {
|
||||
let attrs = Rc::new_cyclic(|weak| {
|
||||
map.insert(vm.new_sym("builtins"), Value::Builtins(weak.clone()));
|
||||
AttrSet::from_inner(map)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user