소스 검색

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,