Add toolchain file and fix formatting

This commit is contained in:
Maybe Waffle 2022-01-25 21:07:30 +03:00
parent ea5eb16276
commit e83688d4d3
2 changed files with 6 additions and 1 deletions

4
rust-toolchain.toml Normal file
View file

@ -0,0 +1,4 @@
[toolchain]
channel = "nightly-2021-10-24"
components = ["rustfmt", "clippy"]
profile = "minimal"

View file

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