Fix typo
This commit is contained in:
parent
921890c64e
commit
864cd8d58e
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ pub trait RefRecoverSafe {}
|
|||
///
|
||||
/// let mut variable = 4;
|
||||
///
|
||||
/// // This code will not compile becuause the closure captures `&mut variable`
|
||||
/// // This code will not compile because the closure captures `&mut variable`
|
||||
/// // which is not considered panic safe by default.
|
||||
///
|
||||
/// // panic::recover(|| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue