mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
871692a278
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