Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed Aug 9, 2024
1 parent 9f29d7d commit 5ebd8e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/common/src/array/list_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,12 +604,12 @@ impl<'a> ListRef<'a> {
let (k, v) = self.array.as_struct().fields().collect_tuple().unwrap();
(
ListRef {
array: &k,
array: k,
start: self.start,
end: self.end,
},
ListRef {
array: &v,
array: v,
start: self.start,
end: self.end,
},
Expand Down
4 changes: 2 additions & 2 deletions src/expr/impl/src/scalar/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ fn map(key: ListRef<'_>, value: ListRef<'_>) -> Result<MapValue, ExprError> {
/// NULL
/// ```
#[function("map_access(anymap, any) -> any")]
fn map_access<'a, 'b>(
fn map_access<'a>(
map: MapRef<'a>,
key: ScalarRefImpl<'b>,
key: ScalarRefImpl<'_>,
) -> Result<Option<ScalarRefImpl<'a>>, ExprError> {
// FIXME: DatumRef in return value is not support by the macro yet.

Expand Down

0 comments on commit 5ebd8e1

Please sign in to comment.