We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5f7c9a commit 2cae482Copy full SHA for 2cae482
Cargo.toml
@@ -56,4 +56,5 @@ required-features = ["completion"]
56
no_individual_tags = true
57
58
[package.metadata.docs.rs]
59
+rustdoc-args = ["--cfg", "docsrs"]
60
all-features = true
src/error.rs
@@ -10,5 +10,5 @@ pub enum Error {
10
IO(#[from] IoError),
11
}
12
13
-/// Result type where errors are of type [Error](crate::error::Error)
+/// Result type where errors are of type [Error](enum@Error).
14
pub type Result<T = ()> = StdResult<T, Error>;
src/lib.rs
@@ -30,6 +30,7 @@
30
//! By default `editor` and `password` are enabled.
31
32
#![deny(clippy::all)]
33
+#![cfg_attr(docsrs, feature(doc_auto_cfg))]
34
35
pub use console;
36
0 commit comments