Skip to content

Commit

Permalink
update rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil Mizrahi committed Feb 15, 2024
1 parent 636450d commit 72bfc3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ fn group_elements(elements: &[models::OrderByElement]) -> Vec<OrderByElementGrou
for (_, vec) in column_element_groups {
element_vecs.push(OrderByElementGroup::Columns {
// if it's here, there's at least one.
path: vec.get(0).unwrap().1,
path: vec.first().unwrap().1,
columns: vec
.into_iter()
.map(|(index, _, direction, element)| GroupedOrderByElement {
Expand All @@ -194,7 +194,7 @@ fn group_elements(elements: &[models::OrderByElement]) -> Vec<OrderByElementGrou
for (_, vec) in aggregate_element_groups {
element_vecs.push(OrderByElementGroup::Aggregates {
// if it's here, there's at least one.
path: vec.get(0).unwrap().1,
path: vec.first().unwrap().1,
aggregates: vec
.into_iter()
.map(|(index, _, direction, element)| GroupedOrderByElement {
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.74.0"
channel = "1.76.0"
profile = "default" # see https://rust-lang.github.io/rustup/concepts/profiles.html
components = ["rust-analyzer", "rust-src"] # see https://rust-lang.github.io/rustup/concepts/components.html

0 comments on commit 72bfc3c

Please sign in to comment.