mirror of
https://github.com/rust-unofficial/patterns
synced 2024-11-10 13:10:30 +00:00
deploy: 264cddf06e
This commit is contained in:
parent
3f198a208a
commit
b1a6a5e370
@ -232,7 +232,7 @@ object in each stack frame. So, destructors get called even if the panic happens
|
||||
in a function being called.</p>
|
||||
<p>If a destructor panics while unwinding, there is no good action to take, so Rust
|
||||
aborts the thread immediately, without running further destructors. This means
|
||||
that desctructors are not absolutely guaranteed to run. It also means that you
|
||||
that destructors are not absolutely guaranteed to run. It also means that you
|
||||
must take extra care in your destructors not to panic, since it could leave
|
||||
resources in an unexpected state.</p>
|
||||
<h2><a class="header" href="#see-also" id="see-also">See also</a></h2>
|
||||
|
@ -532,7 +532,7 @@ object in each stack frame. So, destructors get called even if the panic happens
|
||||
in a function being called.</p>
|
||||
<p>If a destructor panics while unwinding, there is no good action to take, so Rust
|
||||
aborts the thread immediately, without running further destructors. This means
|
||||
that desctructors are not absolutely guaranteed to run. It also means that you
|
||||
that destructors are not absolutely guaranteed to run. It also means that you
|
||||
must take extra care in your destructors not to panic, since it could leave
|
||||
resources in an unexpected state.</p>
|
||||
<h2><a class="header" href="#see-also-4" id="see-also-4">See also</a></h2>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user