feature = "nightly" => all(docsrs, feature = "nightly")

This commit is contained in:
Hirrolot 2021-06-18 22:17:08 +06:00
parent 6a7ad31fc9
commit 0f857e944b

View file

@ -53,7 +53,7 @@
// ```console
// $ RUSTDOCFLAGS="--cfg docsrs -Znormalize-docs" cargo +nightly doc --open --all-features
// ```
#![cfg_attr(feature = "nightly", feature(doc_cfg))]
#![cfg_attr(all(docsrs, feature = "nightly"), feature(doc_cfg))]
pub use dispatching::repls::{
commands_repl, commands_repl_with_listener, dialogues_repl, dialogues_repl_with_listener, repl,