From e83688d4d33e183af0e03705efdd3830b2bb21ce Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Tue, 25 Jan 2022 21:07:30 +0300 Subject: [PATCH] Add toolchain file and fix formatting --- rust-toolchain.toml | 4 ++++ src/dispatching/update_listeners/polling.rs | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.toml diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..7109af18 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +channel = "nightly-2021-10-24" +components = ["rustfmt", "clippy"] +profile = "minimal" diff --git a/src/dispatching/update_listeners/polling.rs b/src/dispatching/update_listeners/polling.rs index 27e850fe..e0c63b62 100644 --- a/src/dispatching/update_listeners/polling.rs +++ b/src/dispatching/update_listeners/polling.rs @@ -55,7 +55,8 @@ where /// [`default_reqwest_settings`]: teloxide::net::default_reqwest_settings /// [`repl`]: fn@crate::repl /// [`Dispatcher`]: crate::dispatching::Dispatcher -/// [`hint_allowed_updates`]: crate::dispatching::update_listeners::UpdateListener::hint_allowed_updates +/// [`hint_allowed_updates`]: +/// crate::dispatching::update_listeners::UpdateListener::hint_allowed_updates /// /// ## How it works ///