From c7007767336b5c7cc29b1fd10cd62132c99941e6 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 4 Mar 2023 02:49:34 +0300 Subject: refactor(tvix/eval): VM struct no longer needs to be public Change-Id: I93b485ddd280cc15fcbaecf4aed5fcd22e28a8a8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8212 Reviewed-by: raitobezarius Tested-by: BuildkiteCI --- tvix/eval/src/lib.rs | 2 +- tvix/eval/src/vm/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tvix') diff --git a/tvix/eval/src/lib.rs b/tvix/eval/src/lib.rs index adf38b4bc4..c6bef65c72 100644 --- a/tvix/eval/src/lib.rs +++ b/tvix/eval/src/lib.rs @@ -52,7 +52,7 @@ pub use crate::errors::{AddContext, Error, ErrorKind, EvalResult}; pub use crate::io::{DummyIO, EvalIO, FileType}; pub use crate::pretty_ast::pretty_print_expr; pub use crate::source::SourceCode; -pub use crate::vm::{generators, VM}; +pub use crate::vm::generators; pub use crate::warnings::{EvalWarning, WarningKind}; pub use builtin_macros; diff --git a/tvix/eval/src/vm/mod.rs b/tvix/eval/src/vm/mod.rs index 78dc566ae7..c3894472fd 100644 --- a/tvix/eval/src/vm/mod.rs +++ b/tvix/eval/src/vm/mod.rs @@ -146,7 +146,7 @@ impl Frame { } } -pub struct VM<'o> { +struct VM<'o> { /// VM's frame stack, representing the execution contexts the VM is working /// through. Elements are usually pushed when functions are called, or /// thunks are being forced. -- cgit 1.4.1