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 ///