Skip to content

Commit 4d29dd1

Browse files
committed
ci: align with docs.rs for documentation
1 parent 841383e commit 4d29dd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,9 @@ jobs:
299299
persist-credentials: false
300300

301301
- name: Install rust toolchain
302-
uses: dtolnay/rust-toolchain@stable
302+
uses: dtolnay/rust-toolchain@nightly
303303

304304
- name: Build documentation
305305
run: cargo doc --locked --all-features --no-deps --document-private-items
306306
env:
307-
RUSTDOCFLAGS: -Dwarnings
307+
RUSTDOCFLAGS: -Dwarnings --cfg=docsrs

0 commit comments

Comments
 (0)