fix clippy::clone_on_ref_ptr for compiler
This commit is contained in:
parent
0bff99403c
commit
746b675c5a
33 changed files with 98 additions and 91 deletions
|
@ -1395,7 +1395,7 @@ pub fn install_ice_hook(
|
|||
}
|
||||
|
||||
let using_internal_features = Arc::new(std::sync::atomic::AtomicBool::default());
|
||||
let using_internal_features_hook = using_internal_features.clone();
|
||||
let using_internal_features_hook = Arc::clone(&using_internal_features);
|
||||
panic::update_hook(Box::new(
|
||||
move |default_hook: &(dyn Fn(&PanicHookInfo<'_>) + Send + Sync + 'static),
|
||||
info: &PanicHookInfo<'_>| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue