diff options
| author | oliver-giersch <oliver.giersch@googlemail.com> | 2018-10-15 13:47:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-15 13:47:27 +0200 |
| commit | ee5703cbbc6579fde6c717a6b27d58588294d6e1 (patch) | |
| tree | ab9e8e363ea69c86fad827a5f6a88ee5691071a3 /src/libstd/thread | |
| parent | 9d7a83862b77e36aa165bf843a03f85adcd271bf (diff) | |
| download | rust-ee5703cbbc6579fde6c717a6b27d58588294d6e1.tar.gz rust-ee5703cbbc6579fde6c717a6b27d58588294d6e1.zip | |
adds missing method call parentheses
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index afc659ccf3a..770044439a5 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -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 |
