Преглед изворни кода

derive clone and debug for SetRsxMessage

Evan Almloff пре 3 година
родитељ
комит
b480579169
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/rsx_interpreter/src/lib.rs

+ 1 - 1
packages/rsx_interpreter/src/lib.rs

@@ -137,7 +137,7 @@ pub trait ErrorHandler: Send + Sync {
     fn handle_error(&self, err: Error);
 }
 
-#[derive(Serialize, Deserialize)]
+#[derive(Serialize, Deserialize, Clone, Debug)]
 pub struct SetRsxMessage {
     pub location: CodeLocation,
     pub new_text: String,