Run additional checks from script/clippy if local (#29768)

Should cut down on the number of CI cycles if you're forgetful like I
am!

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2025-05-01 21:26:12 -04:00 committed by GitHub
parent e1e3f2e423
commit d25da9728b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 20 additions and 10 deletions

View file

@ -444,10 +444,7 @@ pub trait DebugAdapter: 'static + Send + Sync {
log::info!("Getting latest version of debug adapter {}", self.name());
delegate.update_status(self.name(), DapStatus::CheckingForUpdate);
if let Some(version) = self.fetch_latest_adapter_version(delegate).await.log_err() {
log::info!(
"Installiing latest version of debug adapter {}",
self.name()
);
log::info!("Installing latest version of debug adapter {}", self.name());
delegate.update_status(self.name(), DapStatus::Downloading);
match self.install_binary(version, delegate).await {
Ok(_) => {

View file

@ -188,7 +188,7 @@ impl Render for SubView {
cx.notify();
}))
.size_full()
// Add border uncoditionally to prevent layout shifts on focus changes.
// Add border unconditionally to prevent layout shifts on focus changes.
.border_1()
.when(self.pane_focus_handle.contains_focused(window, cx), |el| {
el.border_color(cx.theme().colors().pane_focused_border)

View file

@ -646,7 +646,7 @@ struct ActiveItem {
item_handle: Box<dyn WeakItemHandle>,
active_editor: WeakEntity<Editor>,
_buffer_search_subscription: Subscription,
_editor_subscrpiption: Subscription,
_editor_subscription: Subscription,
}
#[derive(Debug)]
@ -2962,7 +2962,7 @@ impl OutlinePanel {
);
self.active_item = Some(ActiveItem {
_buffer_search_subscription: buffer_search_subscription,
_editor_subscrpiption: subscribe_for_editor_events(&new_active_editor, window, cx),
_editor_subscription: subscribe_for_editor_events(&new_active_editor, window, cx),
item_handle: new_active_item.downgrade_item(),
active_editor: new_active_editor.downgrade(),
});

View file

@ -129,7 +129,7 @@ pub struct InlineDiagnosticsSettings {
/// Default: false
#[serde(default)]
pub enabled: bool,
/// Whether to only show the inline diaganostics after a delay after the
/// Whether to only show the inline diagnostics after a delay after the
/// last editor event.
///
/// Default: 150