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 {
|
/// let handler = unsafe {
|
||||||
/// builder.spawn_unchecked(move || {
|
/// builder.spawn_unchecked(move || {
|
||||||
/// println!("x = {}", *thread_x);
|
/// println!("x = {}", *thread_x);
|
||||||
/// }).unwrap();
|
/// }).unwrap()
|
||||||
/// }
|
/// };
|
||||||
///
|
///
|
||||||
/// // caller has to ensure `join()` is called, otherwise
|
/// // caller has to ensure `join()` is called, otherwise
|
||||||
/// // it is possible to access freed memory if `x` gets
|
/// // it is possible to access freed memory if `x` gets
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue