From fdf3397437ec7f0deb26ca3a03795e13cf9b050a Mon Sep 17 00:00:00 2001 From: gerryfrancis <51095533+gerryfrancis@users.noreply.github.com> Date: Mon, 2 Aug 2021 15:31:41 +0200 Subject: [PATCH] Too many words (#2582) --- src/chat.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chat.rs b/src/chat.rs index 945672a46..6827d8613 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -1157,7 +1157,7 @@ impl Chat { } // the whole list of messages referenced may be huge; - // only use the oldest and and the parent message + // only use the oldest and the parent message let parent_references = parent_references .find(' ') .and_then(|n| parent_references.get(..n)) @@ -1313,7 +1313,7 @@ impl rusqlite::types::FromSql for ChatVisibility { 2 => ChatVisibility::Pinned, 1 => ChatVisibility::Archived, 0 => ChatVisibility::Normal, - // fallback to to Normal for unknown values, may happen eg. on imports created by a newer version. + // fallback to Normal for unknown values, may happen eg. on imports created by a newer version. _ => ChatVisibility::Normal, } })