Skip to content

Commit

Permalink
Merge pull request #110 from sine-fdn/dependabot/cargo/clap-4.4.14
Browse files Browse the repository at this point in the history
chore(deps): bump clap from 4.4.11 to 4.4.14
  • Loading branch information
raimundo-henriques authored Jan 10, 2024
2 parents a86801c + a89aa0f commit bfd2fe2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "src/main.rs"
required-features = ["bin"]

[dependencies]
clap = { version = "4.4.11", features = ["derive"], optional = true }
clap = { version = "4.4.14", features = ["derive"], optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion src/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ impl UntypedExpr {
}

let ret_ty = {
let (_, ret_expr) = &typed_clauses.get(0).unwrap();
let (_, ret_expr) = typed_clauses.first().unwrap();

for (_, expr) in typed_clauses.iter() {
if ret_expr.ty != expr.ty {
Expand Down

0 comments on commit bfd2fe2

Please sign in to comment.