]> git.lizzy.rs Git - rust.git/commit
panic.rs: fix docs (recover -> catch_unwind)
authordiwic <diwic@users.noreply.github.com>
Tue, 24 May 2016 05:28:32 +0000 (07:28 +0200)
committerdiwic <diwic@users.noreply.github.com>
Tue, 24 May 2016 05:28:32 +0000 (07:28 +0200)
commit86a62562700a1814b365478f36cf5e577c9a75e4
treec207160c108e6e62a0bcbc1ad9b763e45faee2cd
parent57ef015132ec09345b88d2ec20a9d9809b5d3dfc
panic.rs: fix docs (recover -> catch_unwind)

The current docs are a bit inconsistent. First, change all references of "recover" to "catch_unwind" because the function was renamed. Second, consistently use the term "unwind safe" instead of "panic safe", "exception safe" and "recover safe" (all these terms were used previously).
src/libstd/panic.rs