Skip to content

Commit

Permalink
Remove curious use<> syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Crossley <[email protected]>
  • Loading branch information
jcrossley3 authored and ctron committed Nov 7, 2024
1 parent 15f52f6 commit b77ebb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/db/query/columns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl Columns {

/// Look up the column context for a given simple field name.
pub(crate) fn for_field(&self, field: &str) -> Option<(Expr, ColumnDef)> {
fn name_match(tgt: &str) -> impl Fn(&&(ColumnRef, ColumnDef)) -> bool + use<'_> {
fn name_match(tgt: &str) -> impl Fn(&&(ColumnRef, ColumnDef)) -> bool + '_ {
|(col, _)| {
matches!(col,
ColumnRef::Column(name)
Expand Down

0 comments on commit b77ebb3

Please sign in to comment.