mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-03 23:41:33 +00:00
Fix documentation for std::panic::update_hook The equivalent code given in the documentation of `std::panic::update_hook`[^1] does not compile: * `set_hook` expects a boxed function * Missing closing delimiter for the closure [^1]: rust-lang/rust#92649