Skip to content

Commit dbb77b5

Browse files
authored
chore: fix doc.rs build failure (#130)
1 parent 99ffdd7 commit dbb77b5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
cache: # Warm cache factory for all other CI jobs
2828
name: Check and Build
2929
strategy:
30-
fail-fast: true
30+
fail-fast: false
3131
matrix:
3232
include:
3333
- os: windows-latest
@@ -185,12 +185,12 @@ jobs:
185185
- uses: Boshen/setup-rust@main
186186
with:
187187
components: rust-docs
188-
- run: RUSTDOCFLAGS='-D warnings' cargo doc --no-deps --all-features
188+
- run: RUSTDOCFLAGS='-D warnings --cfg docsrs' cargo doc --no-deps --all-features
189189

190190
test:
191191
name: Test
192192
strategy:
193-
fail-fast: true
193+
fail-fast: false
194194
matrix:
195195
os:
196196
- windows-latest

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
profile = "default"
33
components = ["rust-src"]
44
# Use nightly for better access to the latest Rust features.
5-
channel = "nightly-2025-07-28"
5+
channel = "nightly-2025-11-10"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
//!
4040
//! ## Feature flags
4141
#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
42-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
42+
#![cfg_attr(docsrs, feature(doc_cfg))]
4343
//!
4444
//! ## Example
4545
//!

0 commit comments

Comments
 (0)