Skip to content

Commit 75feccb

Browse files
committed
Fix mutability warnings
1 parent 636a332 commit 75feccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,7 @@ pub trait Itertools : Iterator {
18411841
}
18421842

18431843
#[deprecated(note="Use .fold_ok() instead", since="0.10")]
1844-
fn fold_results<A, E, B, F>(&mut self, mut start: B, mut f: F) -> Result<B, E>
1844+
fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
18451845
where Self: Iterator<Item = Result<A, E>>,
18461846
F: FnMut(B, A) -> B
18471847
{

0 commit comments

Comments
 (0)