We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce988d5 commit b5e022eCopy full SHA for b5e022e
jaq-interpret/src/rc_lazy_list.rs
@@ -50,7 +50,7 @@ fn drop() {
50
let list = List::from_iter(0..100_000);
51
// clone() ensures that we keep a copy of the whole list around
52
// sum() then evaluates the whole list
53
- assert_eq!(list.clone().sum::<usize>(), 4999950000);
+ assert_eq!(list.clone().sum::<u64>(), 4999950000);
54
// at the end, a long, fully evaluated list is dropped,
55
// which would result in a stack overflow without the custom `Drop` impl
56
std::mem::drop(list);
0 commit comments