mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Place the comment above feature(doc_cfg)
This commit is contained in:
parent
74348b7236
commit
6a7ad31fc9
1 changed files with 1 additions and 2 deletions
|
@ -46,8 +46,6 @@
|
|||
)]
|
||||
#![allow(clippy::match_bool)]
|
||||
#![forbid(unsafe_code)]
|
||||
#![cfg_attr(feature = "nightly", feature(doc_cfg))]
|
||||
|
||||
// we pass "--cfg docsrs" when building docs to add `This is supported on
|
||||
// feature="..." only.`
|
||||
//
|
||||
|
@ -55,6 +53,7 @@
|
|||
// ```console
|
||||
// $ RUSTDOCFLAGS="--cfg docsrs -Znormalize-docs" cargo +nightly doc --open --all-features
|
||||
// ```
|
||||
#![cfg_attr(feature = "nightly", feature(doc_cfg))]
|
||||
|
||||
pub use dispatching::repls::{
|
||||
commands_repl, commands_repl_with_listener, dialogues_repl, dialogues_repl_with_listener, repl,
|
||||
|
|
Loading…
Add table
Reference in a new issue