Skip to content

Commit ee5703c

Browse files
adds missing method call parentheses
1 parent 9d7a838 commit ee5703c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/thread/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ impl Builder {
443443
/// // caller has to ensure `join()` is called, otherwise
444444
/// // it is possible to access freed memory if `x` gets
445445
/// // dropped before the thread closure is executed!
446-
/// handler.join.unwrap();
446+
/// handler.join().unwrap();
447447
/// ```
448448
///
449449
/// [`spawn`]: ../../std/thread/fn.spawn.html

0 commit comments

Comments
 (0)