mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-02 00:07:42 +03:00
db4585aa3b
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.