File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,9 @@ jobs:
150
150
mkdir mdbook
151
151
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.5/mdbook-v0.4.5-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
152
152
echo `pwd`/mdbook >> $GITHUB_PATH
153
- - run : cargo doc --no-deps
153
+ - run : cargo doc --document-private-items --no-deps
154
+ env :
155
+ RUSTDOCFLAGS : -D warnings
154
156
- run : cd src/doc && mdbook build --dest-dir ../../target/doc
155
157
- run : |
156
158
cd src/doc
Original file line number Diff line number Diff line change 5
5
// Due to some of the default clippy lints being somewhat subjective and not
6
6
// necessarily an improvement, we prefer to not use them at this time.
7
7
#![ allow( clippy:: all) ]
8
+ #![ allow( rustdoc:: private_intra_doc_links) ]
8
9
9
10
//! # Cargo as a library
10
11
//!
Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ pub fn fix_get_proxy_lock_addr() -> Option<String> {
348
348
/// If there are warnings or errors, this does not return,
349
349
/// and the process exits with the corresponding `rustc` exit code.
350
350
///
351
- /// See [`fix_proxy_lock_addr `]
351
+ /// See [`fix_get_proxy_lock_addr `]
352
352
pub fn fix_exec_rustc ( config : & Config , lock_addr : & str ) -> CargoResult < ( ) > {
353
353
let args = FixArgs :: get ( ) ?;
354
354
trace ! ( "cargo-fix as rustc got file {:?}" , args. file) ;
You can’t perform that action at this time.
0 commit comments