diff --git a/src/bots/approved_bot/services/book_library/formaters.rs b/src/bots/approved_bot/services/book_library/formaters.rs index 606e154..5741947 100644 --- a/src/bots/approved_bot/services/book_library/formaters.rs +++ b/src/bots/approved_bot/services/book_library/formaters.rs @@ -52,7 +52,7 @@ fn format_authors(authors: Vec, count: usize) -> String { .map(|author| author.format_inline()) .collect::>() .join("\n"); - format!("Авторы:\n{formated_authors}\n\n") + format!("Авторы:\n{formated_authors}\n") } false => "".to_string(), } @@ -66,7 +66,7 @@ fn format_translators(translators: Vec, count: usize) -> String { .map(|translator| translator.format_inline()) .collect::>() .join("\n"); - format!("Переводчики:\n{formated_translators}\n\n") + format!("Переводчики:\n{formated_translators}\n") } false => "".to_string(), } @@ -80,7 +80,7 @@ fn format_sequences(sequences: Vec, count: usize) -> String { .map(|sequence| sequence.format(NO_LIMIT)) .collect::>() .join("\n"); - format!("Серии:\n{formated_sequences}\n\n") + format!("Серии:\n{formated_sequences}\n") } false => "".to_string(), } @@ -94,7 +94,7 @@ fn format_genres(genres: Vec, count: usize) -> String { .map(|genre| genre.format()) .collect::>() .join("\n"); - format!("Жанры:\n{formated_genres}\n\n") + format!("Жанры:\n{formated_genres}\n") } false => "".to_string(), }