This commit is contained in:
simonsan 2021-01-09 17:49:31 +00:00
parent 3f198a208a
commit b1a6a5e370
4 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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