Browse Source

derive clone and debug for SetRsxMessage

Evan Almloff 3 years ago
parent
commit
b480579169
1 changed files with 1 additions and 1 deletions
  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,