Skip to content

Commit 9d7a838

Browse files
fixes misplaced semicolon
1 parent 986549e commit 9d7a838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/thread/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ impl Builder {
437437
/// let handler = unsafe {
438438
/// builder.spawn_unchecked(move || {
439439
/// println!("x = {}", *thread_x);
440-
/// }).unwrap();
441-
/// }
440+
/// }).unwrap()
441+
/// };
442442
///
443443
/// // caller has to ensure `join()` is called, otherwise
444444
/// // it is possible to access freed memory if `x` gets

0 commit comments

Comments
 (0)