From fdfd09a360176eaabb4f7bc962df3d8fd7ed5b90 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Wed, 6 Mar 2024 15:53:35 +0100 Subject: [PATCH] Revert change to rpc/build.rs --- crates/project/src/project_tests.rs | 2 +- crates/rpc/build.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/project/src/project_tests.rs b/crates/project/src/project_tests.rs index 0ad5570bef..1853619121 100644 --- a/crates/project/src/project_tests.rs +++ b/crates/project/src/project_tests.rs @@ -3125,7 +3125,7 @@ async fn test_buffer_is_dirty(cx: &mut gpui::TestAppContext) { events.lock().clear(); // After restoring the buffer to its previously-saved state, - // the buffer is no longer considered dirty + // the buffer is not considered dirty anymore. buffer.edit([(1..3, "")], None, cx); assert!(buffer.text() == "ac"); assert!(!buffer.is_dirty()); diff --git a/crates/rpc/build.rs b/crates/rpc/build.rs index 321d85ccb2..25dff9b007 100644 --- a/crates/rpc/build.rs +++ b/crates/rpc/build.rs @@ -2,7 +2,6 @@ fn main() { let mut build = prost_build::Config::new(); build .type_attribute(".", "#[derive(serde::Serialize)]") - .type_attribute(".", "#[allow(clippy::large_enum_variant)]") .compile_protos(&["proto/zed.proto"], &["proto"]) .unwrap(); }