1
0
Эх сурвалжийг харах

derive clone and debug for SetRsxMessage

Evan Almloff 3 жил өмнө
parent
commit
b480579169

+ 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,