Skip to content

Commit 446c1c1

Browse files
authored
Merge pull request #4 from hearnadam/master
fix CI
2 parents 50bb7e7 + e2049e8 commit 446c1c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Check formatting
3535
run: cargo fmt -- --check
3636
- name: Clippy
37-
run: cargo clippy -- -Dwarnings
37+
run: cargo clippy -- -Dwarnings
3838
- name: Tests
3939
run: cargo test --all-features
4040

src/codegen/function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl Render for Function {
123123
if outs.is_empty() {
124124
"Unit".to_owned()
125125
} else if outs.len() == 1 {
126-
outs.get(0).unwrap().clone()
126+
outs.first().unwrap().clone()
127127
} else {
128128
format!("({})", outs.join(", "))
129129
}

0 commit comments

Comments
 (0)