Skip to content

Commit

Permalink
'local -> 'run
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Sep 20, 2024
1 parent 07cce3f commit e6ce5b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/analyzer.rs
Original file line number Diff line number Diff line change
@@ -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<String>,
warnings: Vec<Warning>,
Expand Down Expand Up @@ -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<PathBuf, Ast<'src>>,
doc: Option<String>,
Expand Down

0 comments on commit e6ce5b8

Please sign in to comment.