Skip to content

Commit

Permalink
fix: [torrust#979] doc linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Jul 31, 2024
1 parent b9ec3c7 commit 9e04951
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//! Tracker keys are tokens used to authenticate the tracker clients when the tracker runs
//! in `private` or `private_listed` modes.
//!
//! There are services to [`generate`] and [`verify`] authentication keys.
//! There are services to [`generate_key`] and [`verify_key`] authentication keys.
//!
//! Authentication keys are used only by [`HTTP`](crate::servers::http) trackers. All keys have an expiration time, that means
//! they are only valid during a period of time. After that time the expiring key will no longer be valid.
Expand Down
2 changes: 1 addition & 1 deletion src/shared/bit_torrent/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pub const MAX_SCRAPE_TORRENTS: u8 = 74;

/// HTTP tracker authentication key length.
///
/// See function to [`generate`](crate::core::auth::generate) the
/// See function to [`generate_key`](crate::core::auth::generate_key) the
/// [`ExpiringKeys`](crate::core::auth::ExpiringKey) for more information.
pub const AUTH_KEY_LENGTH: usize = 32;

0 comments on commit 9e04951

Please sign in to comment.