Skip to content

Commit 7c0ca83

Browse files
committed
Link to Error in core in error docs
1 parent 01aceec commit 7c0ca83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/generate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ pub const fn primes_geq<const N: usize, const MEM: usize>(
433433
/// The error returned by [`primes_lt`] and [`primes_geq`] if the input
434434
/// is invalid or does not work to produce the requested primes.
435435
///
436-
/// Only implements the [`Error`](std::error::Error) trait
436+
/// Only implements the [`Error`](core::error::Error) trait
437437
/// if the `std` feature is enabled.
438438
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
439439
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]

src/sieve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ pub const fn sieve<const N: usize>() -> [bool; N] {
250250
/// The error returned by [`sieve_lt`] and [`sieve_geq`] if the input
251251
/// is invalid or does not work to sieve the requested range.
252252
///
253-
/// Only implements the [`Error`](std::error::Error) trait
253+
/// Only implements the [`Error`](core::error::Error) trait
254254
/// if the `std` feature is enabled.
255255
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
256256
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]

0 commit comments

Comments
 (0)