refactor(tvix/eval): move NumberPair struct definition to vm module
This isn't relevant to the value type itself. Change-Id: I678bc92a8a530b1081ed498bf3ff7925217bcc01 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6081 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
9c5a249b30
commit
0d2896519c
3 changed files with 8 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use rnix::{self, types::TypedNode};
|
||||
use std::fmt::Write;
|
||||
|
||||
use crate::errors::{Error, EvalResult};
|
||||
use crate::errors::EvalResult;
|
||||
|
||||
pub fn interpret(code: String) -> EvalResult<String> {
|
||||
let ast = rnix::parse(&code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue