chore(tvix/eval): fix a broken comment

Change-Id: I0a6edb51685f94d4712089ae805170da3fb7faae
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7609
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-12-21 16:09:17 +03:00 committed by clbot
parent 908cebf35c
commit 22ed59fabd

View file

@ -131,7 +131,6 @@ pub struct EvaluationResult {
impl<'code, 'co, 'ro> Evaluation<'code, 'co, 'ro> { impl<'code, 'co, 'ro> Evaluation<'code, 'co, 'ro> {
/// Initialise an `Evaluation` for the given Nix source code snippet, and /// Initialise an `Evaluation` for the given Nix source code snippet, and
/// an optional code location. /// an optional code location.
/// reporting the location of errors in the code.
pub fn new(code: &'code str, location: Option<PathBuf>) -> Self { pub fn new(code: &'code str, location: Option<PathBuf>) -> Self {
let source_map = SourceCode::new(); let source_map = SourceCode::new();