1
Fork 0

it's auto traits that make for automatic implementations

This commit is contained in:
Ralf Jung 2018-10-08 17:44:33 +02:00
parent 25a75a4d86
commit 54a3583da7

View file

@ -79,7 +79,7 @@ pub use core::panic::{PanicInfo, Location};
///
/// Simply put, a type `T` implements `UnwindSafe` if it cannot easily allow
/// 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
/// safe if all of its components are unwind safe).
///