Enforce style lints which do not have violations (#36580)
Release Notes: - N/A
This commit is contained in:
parent
4ee565cd39
commit
6ed29fbc34
20 changed files with 146 additions and 89 deletions
|
@ -3924,9 +3924,7 @@ impl LspStore {
|
|||
_: &mut Context<Self>,
|
||||
) {
|
||||
match event {
|
||||
ToolchainStoreEvent::ToolchainActivated { .. } => {
|
||||
self.request_workspace_config_refresh()
|
||||
}
|
||||
ToolchainStoreEvent::ToolchainActivated => self.request_workspace_config_refresh(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3119,7 +3119,7 @@ impl Project {
|
|||
event: &BufferEvent,
|
||||
cx: &mut Context<Self>,
|
||||
) -> Option<()> {
|
||||
if matches!(event, BufferEvent::Edited { .. } | BufferEvent::Reloaded) {
|
||||
if matches!(event, BufferEvent::Edited | BufferEvent::Reloaded) {
|
||||
self.request_buffer_diff_recalculation(&buffer, cx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue