fixes misplaced semicolon
This commit is contained in:
parent
986549e9f5
commit
9d7a83862b
1 changed files with 2 additions and 2 deletions
|
@ -437,8 +437,8 @@ impl Builder {
|
|||
/// let handler = unsafe {
|
||||
/// builder.spawn_unchecked(move || {
|
||||
/// println!("x = {}", *thread_x);
|
||||
/// }).unwrap();
|
||||
/// }
|
||||
/// }).unwrap()
|
||||
/// };
|
||||
///
|
||||
/// // caller has to ensure `join()` is called, otherwise
|
||||
/// // it is possible to access freed memory if `x` gets
|
||||
|
|
Loading…
Reference in a new issue