diff options
Diffstat (limited to 'tvix/eval/src/value/thunk.rs')
-rw-r--r-- | tvix/eval/src/value/thunk.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tvix/eval/src/value/thunk.rs b/tvix/eval/src/value/thunk.rs index a820e73307ad..716cf4404e2e 100644 --- a/tvix/eval/src/value/thunk.rs +++ b/tvix/eval/src/value/thunk.rs @@ -86,9 +86,7 @@ impl Thunk { }))) } - pub fn new_suspended_native( - native: Rc<Box<dyn Fn(&mut VM) -> Result<Value, ErrorKind>>>, - ) -> Self { + pub fn new_suspended_native(native: Rc<dyn Fn(&mut VM) -> Result<Value, ErrorKind>>) -> Self { let span = codemap::CodeMap::new() .add_file("<internal>".to_owned(), "<internal>".to_owned()) .span; |