1
Fork 0

adds missing method call parentheses

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

View file

@ -443,7 +443,7 @@ impl Builder {
/// // caller has to ensure `join()` is called, otherwise
/// // it is possible to access freed memory if `x` gets
/// // dropped before the thread closure is executed!
/// handler.join.unwrap();
/// handler.join().unwrap();
/// ```
///
/// [`spawn`]: ../../std/thread/fn.spawn.html