rust/library/std/src/backtrace
Ashley Mannix db4585aa3b use Once instead of Mutex to manage capture resolution
This allows us to return borrows of the captured backtrace frames
that are tied to a borrow of the Backtrace itself, instead of to
some short-lived Mutex guard.

It also makes it semantically clearer what synchronization is needed
on the capture.
2021-01-06 10:44:06 +10:00
..
tests.rs use Once instead of Mutex to manage capture resolution 2021-01-06 10:44:06 +10:00