From 3129d709fead5bff61de11ded40db2cea3cae6ee Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Mon, 15 Feb 2021 16:46:31 +0600 Subject: [PATCH] Small enhancements --- rustfmt.toml | 2 +- src/types/input_sticker.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rustfmt.toml b/rustfmt.toml index 60b85bac..9b0523d1 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,5 +1,5 @@ format_code_in_doc_comments = true wrap_comments = true format_strings = true -merge_imports = true +imports_granularity = "Crate" use_field_init_shorthand = true diff --git a/src/types/input_sticker.rs b/src/types/input_sticker.rs index 8f765495..4e82f0ba 100644 --- a/src/types/input_sticker.rs +++ b/src/types/input_sticker.rs @@ -24,7 +24,7 @@ pub enum InputSticker { /// TGS animation with the sticker, uploaded using multipart/form-data. /// - /// See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements + /// See for technical requirements #[serde(rename = "tgs_sticker")] Tgs(InputFile), }