Skip to content

Commit 335b515

Browse files
committed
Added formatting
1 parent 101d612 commit 335b515

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/models/messages.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub enum BaseMessage {
3333
},
3434
TriggerHookResponse {
3535
request_id: String,
36-
hook: Option<String>
36+
hook: Option<String>,
3737
},
3838
DeclareFunctionRequest {
3939
request_id: String,

src/protocol/json_protocol.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ fn decode_internal(data: &[u8]) -> Option<BaseMessage> {
213213
let request_id = result[request_keys::REQUEST_ID].as_str()?.to_string();
214214
let hook = match result[request_keys::HOOK].as_str() {
215215
Some(string) => Some(string.to_string()),
216-
None => None
216+
None => None,
217217
};
218218

219219
Some(BaseMessage::TriggerHookResponse { request_id, hook })

0 commit comments

Comments
 (0)