From d11d3ab08bb743231b039b0404c8910999107bf2 Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Tue, 7 Jan 2020 02:25:27 +0100 Subject: [PATCH] fix typo --- src/chat.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chat.rs b/src/chat.rs index dc485afc9..43a6dd865 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -2398,7 +2398,7 @@ mod tests { let chat = Chat::load_from_db(&t.ctx, chat_id).unwrap(); let info = chat.get_info(&t.ctx).unwrap(); - // Ensure we can serialise this. + // Ensure we can serialize this. println!("{}", serde_json::to_string_pretty(&info).unwrap()); let expected = r#" @@ -2417,7 +2417,7 @@ mod tests { } "#; - // Ensure we can deserialise this. + // Ensure we can deserialize this. let loaded: ChatInfo = serde_json::from_str(expected).unwrap(); assert_eq!(info, loaded); }