Skip to content

Commit db9e2eb

Browse files
committed
fix: [#979] doc linter errors
1 parent b9ec3c7 commit db9e2eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/core/auth.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! Tracker keys are tokens used to authenticate the tracker clients when the tracker runs
55
//! in `private` or `private_listed` modes.
66
//!
7-
//! There are services to [`generate`] and [`verify`] authentication keys.
7+
//! There are services to [`generate_key`] and [`verify_key`] authentication keys.
88
//!
99
//! Authentication keys are used only by [`HTTP`](crate::servers::http) trackers. All keys have an expiration time, that means
1010
//! they are only valid during a period of time. After that time the expiring key will no longer be valid.
@@ -228,7 +228,7 @@ impl FromStr for Key {
228228
}
229229

230230
/// Verification error. Error returned when an [`PeerKey`] cannot be
231-
/// verified with the [`verify(...)`](crate::core::auth::verify) function.
231+
/// verified with the [`verify_key`](crate::core::auth::verify_key) function.
232232
#[derive(Debug, Error)]
233233
#[allow(dead_code)]
234234
pub enum Error {

src/shared/bit_torrent/common.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ pub const MAX_SCRAPE_TORRENTS: u8 = 74;
1717

1818
/// HTTP tracker authentication key length.
1919
///
20-
/// See function to [`generate`](crate::core::auth::generate) the
21-
/// [`ExpiringKeys`](crate::core::auth::ExpiringKey) for more information.
20+
/// For more information see function [`generate_key`](crate::core::auth::generate_key) to generate the
21+
/// [`PeerKey`](crate::core::auth::PeerKey).
2222
pub const AUTH_KEY_LENGTH: usize = 32;

0 commit comments

Comments
 (0)