Skip to content

Commit 7746e6e

Browse files
committed
Fix: Rust doctest argument order
1 parent de89621 commit 7746e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fork_union.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ where
578578
/// use fork_union as fu;
579579
/// let pool = fu::spawn(1);
580580
/// let mut strings = vec![String::new(); 1_000];
581-
/// fu::for_each_prong_mut_dynamic(&pool, &mut strings, |prong, s| {
581+
/// fu::for_each_prong_mut_dynamic(&pool, &mut strings, |s, prong| {
582582
/// s.push_str(&format!("hello from thread {}", prong.thread_index));
583583
/// });
584584
/// ```

0 commit comments

Comments
 (0)