From e6ce5b8e75e0bff87ba9de3151ebf603d715b3be Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Fri, 20 Sep 2024 10:22:49 +0800 Subject: [PATCH] 'local -> 'run --- src/analyzer.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/analyzer.rs b/src/analyzer.rs index 50ed883dda..03a31c89a0 100644 --- a/src/analyzer.rs +++ b/src/analyzer.rs @@ -1,11 +1,11 @@ use {super::*, CompileErrorKind::*}; #[derive(Default)] -pub(crate) struct Analyzer<'local, 'src> { +pub(crate) struct Analyzer<'run, 'src> { aliases: Table<'src, Alias<'src, Name<'src>>>, - assignments: Vec<&'local Binding<'src, Expression<'src>>>, + assignments: Vec<&'run Binding<'src, Expression<'src>>>, modules: Table<'src, Justfile<'src>>, - recipes: Vec<&'local Recipe<'src, UnresolvedDependency<'src>>>, + recipes: Vec<&'run Recipe<'src, UnresolvedDependency<'src>>>, sets: Table<'src, Set<'src>>, unexports: HashSet, warnings: Vec, @@ -44,7 +44,7 @@ impl<'src> Definitions<'src> { } } -impl<'local, 'src> Analyzer<'local, 'src> { +impl<'run, 'src> Analyzer<'run, 'src> { pub(crate) fn analyze( asts: &HashMap>, doc: Option,