From 5fd0a6b1cf321cae7452a3593f96d4ca34af5617 Mon Sep 17 00:00:00 2001 From: Eir Nym <485399+eirnym@users.noreply.github.com> Date: Mon, 23 Nov 2026 17:55:32 +0100 Subject: [PATCH] Remove stale doc for getrandom::Error --- src/error.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/error.rs b/src/error.rs index 0c5030f3..b5f76040 100644 --- a/src/error.rs +++ b/src/error.rs @@ -33,10 +33,8 @@ cfg_if::cfg_if!( /// if so, which error code the OS gave the application. If such an error is /// encountered, please consult with your system documentation. /// -/// *If this crate's `"std"` Cargo feature is enabled*, then: -/// - [`getrandom::Error`][Error] implements -/// [`std::error::Error`](https://doc.rust-lang.org/std/error/trait.Error.html) -/// - [`std::io::Error`](https://doc.rust-lang.org/std/io/struct.Error.html) implements +/// *If this crate's `"std"` Cargo feature is enabled*, then +/// [`std::io::Error`](https://doc.rust-lang.org/std/io/struct.Error.html) implements /// [`From`](https://doc.rust-lang.org/std/convert/trait.From.html). // note: on non-UEFI targets OS errors are represented as negative integers,