Fix clippy::needless_borrow lint violations (#36444)
Release Notes: - N/A
This commit is contained in:
parent
eecf142f06
commit
9e0e233319
242 changed files with 801 additions and 821 deletions
|
@ -155,7 +155,7 @@ fn init_panic_hook(session_id: String) {
|
|||
log::error!(
|
||||
"panic occurred: {}\nBacktrace:\n{}",
|
||||
&payload,
|
||||
(&backtrace).join("\n")
|
||||
backtrace.join("\n")
|
||||
);
|
||||
|
||||
let panic_data = telemetry_events::Panic {
|
||||
|
@ -796,11 +796,8 @@ fn initialize_settings(
|
|||
fs: Arc<dyn Fs>,
|
||||
cx: &mut App,
|
||||
) -> watch::Receiver<Option<NodeBinaryOptions>> {
|
||||
let user_settings_file_rx = watch_config_file(
|
||||
&cx.background_executor(),
|
||||
fs,
|
||||
paths::settings_file().clone(),
|
||||
);
|
||||
let user_settings_file_rx =
|
||||
watch_config_file(cx.background_executor(), fs, paths::settings_file().clone());
|
||||
|
||||
handle_settings_file_changes(user_settings_file_rx, cx, {
|
||||
let session = session.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue