fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0061]: this method takes 2 arguments but 1 argument was supplied 2 --> $DIR/issue-3044.rs:3:23 3 | 4LL | needlesArr.iter().fold(|x, y| { 5 | _______________________^^^^- 6LL | | 7LL | | }); 8 | |______- an argument is missing 9 | 10note: method defined here 11 --> $SRC_DIR/core/src/iter/traits/iterator.rs:LL:COL 12help: provide the argument 13 | 14LL ~ needlesArr.iter().fold(|x, y| { 15LL + 16LL ~ }, /* f */); 17 | 18 19error: aborting due to previous error 20 21For more information about this error, try `rustc --explain E0061`.