File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -102,20 +102,20 @@ jobs:
102102 - name : fmt
103103 run : cargo fmt --all -- --check
104104
105- check- doc :
105+ doc :
106106 name : rustdoc
107107 runs-on : ubuntu-24.04
108108 steps :
109109 - uses : actions/checkout@v6
110110 - uses : dtolnay/rust-toolchain@master
111111 with :
112- # We need Nightly for doc_auto_cfg
113- toolchain : nightly-2025-09-28
112+ # We need Nightly for doc_cfg
113+ toolchain : nightly-2026-01-25
114114 - uses : Swatinem/rust-cache@v2
115115 - name : Generate Docs
116116 env :
117117 RUSTDOCFLAGS : " -Dwarnings --cfg docsrs"
118- run : cargo doc --no-deps --features std
118+ run : cargo doc --no-deps --features std,sys_rng
119119
120120 typos :
121121 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ use rand_core::{TryCryptoRng, TryRng};
2929/// [rand]: https://crates.io/crates/rand
3030/// [`rand::rngs::SysRng`]: https://docs.rs/rand/latest/rand/rngs/struct.SysRng.html
3131/// [`Rng`]: rand_core::Rng
32+ /// [`UnwrapErr`]: rand_core::UnwrapErr
3233#[ derive( Clone , Copy , Debug , Default ) ]
3334pub struct SysRng ;
3435
You can’t perform that action at this time.
0 commit comments