Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
Remove unused query_source member.
  • Loading branch information
felixwilhelm committed Jan 5, 2022
1 parent 8e6d7a3 commit bfdcfd0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ fn _build_query_tree(
b.captures,
variables,
b.negations,
source.to_string(),
id,
)
}
Expand Down
3 changes: 0 additions & 3 deletions src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ pub struct QueryTree {
captures: Vec<Capture>,
negations: Vec<NegativeQuery>,
variables: HashSet<String>,
query_source: String,
id: usize,
}

Expand Down Expand Up @@ -63,15 +62,13 @@ impl<'a> QueryTree {
captures: Vec<Capture>,
variables: HashSet<String>,
negations: Vec<NegativeQuery>,
query_source: String,
id: usize,
) -> QueryTree {
QueryTree {
query,
captures,
variables,
negations,
query_source,
id,
}
}
Expand Down

0 comments on commit bfdcfd0

Please sign in to comment.