Place the comment above feature(doc_cfg)

This commit is contained in:
Hirrolot 2021-06-18 22:07:37 +06:00
parent 74348b7236
commit 6a7ad31fc9

View file

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