fixes misplaced semicolon

This commit is contained in:
oliver-giersch 2018-10-15 13:22:39 +02:00 committed by GitHub
parent 986549e9f5
commit 9d7a83862b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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