Skip to content

Commit

Permalink
remove deprecated tower comments
Browse files Browse the repository at this point in the history
  • Loading branch information
glendc committed Mar 10, 2024
1 parent 76dbe65 commit 7c6b9c5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/service/util/rng.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
//! [PRNG] utilities for tower middleware.
//! [PRNG] utilities for middleware.
//!
//! This module provides a generic [`Rng`] trait and a [`HasherRng`] that
//! implements the trait based on [`RandomState`] or any other [`Hasher`].
//!
//! These utilities replace tower's internal usage of `rand` with these smaller,
//! more lightweight methods. Most of the implementations are extracted from
//! their corresponding `rand` implementations.
//!
//! [PRNG]: https://en.wikipedia.org/wiki/Pseudorandom_number_generator

use std::{
Expand All @@ -15,7 +11,7 @@ use std::{
ops::Range,
};

/// A simple [PRNG] trait for use within tower middleware.
/// A simple [PRNG] trait for use within middleware.
///
/// [PRNG]: https://en.wikipedia.org/wiki/Pseudorandom_number_generator
pub trait Rng: Send + Sync + 'static {
Expand Down

0 comments on commit 7c6b9c5

Please sign in to comment.