Style fixes

Style fixes

АвторKirill Bulatov
КоммитерKirill Bulatov
22 дня назад
Файлов изменено: 2
+1–1
06a6085
Родители c06fdb5
crates/diagnostics/.../cargo.rs
@@ -581,7 +581,6 @@
/// Checks whether a file name is from macro invocation and does not refer to an actual file.
fn is_dummy_macro_file(file_name: &str) -> bool {
    // FIXME: current rustc does not seem to emit `<macro file>` files anymore?
    file_name.starts_with('<') && file_name.ends_with('>')
}
crates/diagnostics/.../diagnostics.rs
@@ -358,6 +358,7 @@
                self.update_all_diagnostics(window, cx);
            }
        }
        cx.notify();
    }
    fn focus_in(&mut self, window: &mut Window, cx: &mut Context<Self>) {

Cherry-pick

Команда cherry-pick позволяет выбрать отдельные коммиты из одной ветки и применить их к другой.