Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit c4caaf4

Browse files
authored
Merge pull request #4 from dtolnay/ice
Work around ICE in rust 1.57+
2 parents d671745 + f834cd9 commit c4caaf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/readme.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ mod second {
4242

4343
#[test]
4444
fn main() {
45-
let accumulate = AccumulatePairs::default();
45+
let accumulate = AccumulatePairs::<i32>::default();
4646
accumulate(30, 1);
4747
accumulate(20, 2);
4848
accumulate(10, 3);

0 commit comments

Comments
 (0)