From 96f0e4709136a03adb936efd3024caef448bcc28 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 19 Jun 2021 03:15:57 +0300 Subject: [PATCH] Fix a `DC_DESIRED_TEXT_LEN` comment typo ("usind") --- src/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.rs b/src/constants.rs index a1ec8260c..c4e194766 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -173,7 +173,7 @@ pub const DC_ELLIPSE: &str = "[...]"; /// to keep bubbles and chat flow usable, /// and to avoid problems with controls using very long texts, /// we limit the text length to DC_DESIRED_TEXT_LEN. -/// if the text is longer, the full text can be retrieved usind has_html()/get_html(). +/// if the text is longer, the full text can be retrieved using has_html()/get_html(). /// /// we are using a bit less than DC_MAX_GET_TEXT_LEN to avoid cutting twice /// (a bit less as truncation may not be exact and ellipses may be added).