about summary refs log tree commit diff
path: root/src/etc/vim/syntax/rust.vim
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-30 17:18:12 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-16 10:47:25 -0700
commit2fe926431bb198a052a5eae92ff820a4f572fd92 (patch)
treeec39df7109eee720e694224a0929605443a46b96 /src/etc/vim/syntax/rust.vim
parent0b32d42a5da84c1f23a2b50b9a6741eea69773c4 (diff)
downloadrust-2fe926431bb198a052a5eae92ff820a4f572fd92.tar.gz
rust-2fe926431bb198a052a5eae92ff820a4f572fd92.zip
std: Support consuming a Process without waiting
Forking off a child which survives the parent is often a useful task, and is
currently not possible because the Process type will invoke `wait()` in its
destructor in order to prevent leaking resources. This function adds a new safe
method, `forget`, which can be used to consume an instance of `Process` which
will then not call `wait` in the destructor.

This new method is clearly documented as a leak of resources, but it must be
forcibly opted in to.

Closes #14467
Diffstat (limited to 'src/etc/vim/syntax/rust.vim')
0 files changed, 0 insertions, 0 deletions