it's auto traits that make for automatic implementations
This commit is contained in:
parent
25a75a4d86
commit
54a3583da7
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ pub use core::panic::{PanicInfo, Location};
|
||||||
///
|
///
|
||||||
/// Simply put, a type `T` implements `UnwindSafe` if it cannot easily allow
|
/// Simply put, a type `T` implements `UnwindSafe` if it cannot easily allow
|
||||||
/// witnessing a broken invariant through the use of `catch_unwind` (catching a
|
/// witnessing a broken invariant through the use of `catch_unwind` (catching a
|
||||||
/// panic). This trait is a marker trait, so it is automatically implemented for
|
/// panic). This trait is an auto trait, so it is automatically implemented for
|
||||||
/// many types, and it is also structurally composed (e.g. a struct is unwind
|
/// many types, and it is also structurally composed (e.g. a struct is unwind
|
||||||
/// safe if all of its components are unwind safe).
|
/// safe if all of its components are unwind safe).
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue