Skip to content

Commit 5c79098

Browse files
committed
fix doclinks
1 parent aac5982 commit 5c79098

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

rand_jitter/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use core::fmt;
1212

1313
/// An error that can occur when [`JitterRng::test_timer`] fails.
1414
///
15-
/// [`JitterRng::test_timer`]: struct.JitterRng.html#method.test_timer
15+
/// [`JitterRng::test_timer`]: crate::JitterRng::test_timer
1616
#[derive(Debug, Clone, PartialEq, Eq)]
1717
pub enum TimerError {
1818
/// No timer available.

rand_jitter/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
//!
3030
//! `JitterRng` can be used without the standard library, but not conveniently,
3131
//! you must provide a high-precision timer and carefully have to follow the
32-
//! instructions of [`new_with_timer`].
32+
//! instructions of [`JitterRng::new_with_timer`].
3333
//!
3434
//! This implementation is based on [Jitterentropy] version 2.1.0.
3535
//!
@@ -38,8 +38,6 @@
3838
//! [`JitterRng::new()`] is not available on WASM. It is also unavailable
3939
//! with disabled `std` feature.
4040
//!
41-
//! [`JitterRng::new()`]: struct.JitterRng.html#method.new
42-
//! [`new_with_timer`]: struct.JitterRng.html#method.new_with_timer
4341
//! [Jitterentropy]: http://www.chronox.de/jent.html
4442
4543
// Note: the C implementation of `Jitterentropy` relies on being compiled

0 commit comments

Comments
 (0)