From 77a8d177c234cb273f62a22b07eeaf2b50afa1c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Mon, 26 Jan 2026 16:49:15 +0300 Subject: [PATCH 1/3] ci: check docs with enabled `sys_rng` feature --- .github/workflows/workspace.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index d4f016082..ffb52721d 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -102,7 +102,7 @@ jobs: - name: fmt run: cargo fmt --all -- --check - check-doc: + doc: name: rustdoc runs-on: ubuntu-24.04 steps: @@ -115,7 +115,7 @@ jobs: - name: Generate Docs env: RUSTDOCFLAGS: "-Dwarnings --cfg docsrs" - run: cargo doc --no-deps --features std + run: cargo doc --no-deps --features std,sys_rng typos: runs-on: ubuntu-latest From 9a803966862ea7f5bfc1de3685d6e7d15007ca6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Mon, 26 Jan 2026 16:50:18 +0300 Subject: [PATCH 2/3] fix `SysRng` docs --- src/sys_rng.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sys_rng.rs b/src/sys_rng.rs index ba8e35e65..74e9f3206 100644 --- a/src/sys_rng.rs +++ b/src/sys_rng.rs @@ -29,6 +29,7 @@ use rand_core::{TryCryptoRng, TryRng}; /// [rand]: https://crates.io/crates/rand /// [`rand::rngs::SysRng`]: https://docs.rs/rand/latest/rand/rngs/struct.SysRng.html /// [`Rng`]: rand_core::Rng +/// [`UnwrapErr`]: rand_core::UnwrapErr #[derive(Clone, Copy, Debug, Default)] pub struct SysRng; From 57b06b1ba3601f53e8c91661e0624dd478ee1cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Mon, 26 Jan 2026 16:53:42 +0300 Subject: [PATCH 3/3] update nightly --- .github/workflows/workspace.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index ffb52721d..8babfaaba 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -109,8 +109,8 @@ jobs: - uses: actions/checkout@v6 - uses: dtolnay/rust-toolchain@master with: - # We need Nightly for doc_auto_cfg - toolchain: nightly-2025-09-28 + # We need Nightly for doc_cfg + toolchain: nightly-2026-01-25 - uses: Swatinem/rust-cache@v2 - name: Generate Docs env: