• A
    use Once instead of Mutex to manage capture resolution · db4585aa
    Ashley Mannix 提交于
    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.
    db4585aa
tests.rs 2.3 KB