Skip to content

Commit

Permalink
Review feedback: Rename "modern" to "standard".
Browse files Browse the repository at this point in the history
  • Loading branch information
ximon18 committed Apr 3, 2024
1 parent 42c7294 commit b3a1318
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/net/server/middleware/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ where
builder
}

/// Creates a new builder pre-populated with "modern" middleware
/// Creates a new builder pre-populated with "standard" middleware
/// processors.
///
/// The constructed builder will be pre-populated with the following
Expand All @@ -90,7 +90,7 @@ where
/// - [`CookiesMiddlewareProcessor`] _(only if crate feature [`siphasher"]
/// is enabled)_
#[must_use]
pub fn modern() -> Self {
pub fn standard() -> Self {
let mut builder = Self::new();
builder.push(MandatoryMiddlewareProcessor::default().into());
builder.push(EdnsMiddlewareProcessor::default().into());
Expand Down Expand Up @@ -140,6 +140,6 @@ where
///
/// See [`Self::modern()`].
fn default() -> Self {
Self::modern()
Self::standard()
}
}

0 comments on commit b3a1318

Please sign in to comment.