File tree 4 files changed +3
-4
lines changed
4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -23,4 +23,4 @@ doc-scrape-examples = false
23
23
24
24
[package .metadata .docs .rs ]
25
25
targets = [" x86_64-unknown-linux-gnu" ]
26
- rustdoc-args = [" --cfg " , " doc_cfg " , " -- generate-link-to-definition" ]
26
+ rustdoc-args = [" --generate-link-to-definition" ]
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ fn main() {
11
11
} ;
12
12
13
13
if compiler >= 80 {
14
- println ! ( "cargo:rustc-check-cfg=cfg(doc_cfg)" ) ;
15
14
println ! ( "cargo:rustc-check-cfg=cfg(no_alloc_crate)" ) ;
16
15
println ! ( "cargo:rustc-check-cfg=cfg(no_const_vec_new)" ) ;
17
16
println ! ( "cargo:rustc-check-cfg=cfg(no_exhaustive_int_match)" ) ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ pub(crate) enum Position {
26
26
}
27
27
28
28
#[ cfg( feature = "std" ) ]
29
- #[ cfg_attr( doc_cfg , doc( cfg( feature = "std" ) ) ) ]
29
+ #[ cfg_attr( docsrs , doc( cfg( feature = "std" ) ) ) ]
30
30
impl std:: error:: Error for Error { }
31
31
32
32
impl Display for Error {
Original file line number Diff line number Diff line change 61
61
//! [Specifying Dependencies]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html
62
62
63
63
#![ doc( html_root_url = "https://docs.rs/semver/1.0.23" ) ]
64
- #![ cfg_attr( doc_cfg , feature( doc_cfg) ) ]
64
+ #![ cfg_attr( docsrs , feature( doc_cfg) ) ]
65
65
#![ cfg_attr( all( not( feature = "std" ) , not( no_alloc_crate) ) , no_std) ]
66
66
#![ cfg_attr( not( no_unsafe_op_in_unsafe_fn_lint) , deny( unsafe_op_in_unsafe_fn) ) ]
67
67
#![ cfg_attr( no_unsafe_op_in_unsafe_fn_lint, allow( unused_unsafe) ) ]
You can’t perform that action at this time.
0 commit comments