[PR #1473] [MERGED] 1445 Replace all min & max constructs with clamp #2354

Closed
opened 2026-03-16 08:49:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1473
Author: @chrismiceli
Created: 4/30/2021
Status: Merged
Merged: 2/17/2022
Merged by: @bluejekyll

Base: mainHead: 1445


📝 Commits (1)

  • 3e29c0b 1445 Replace all min & max constructs with clamp

📊 Changes

3 files changed (+5 additions, -6 deletions)

View changed files

📝 crates/proto/src/https/https_client_stream.rs (+3 -3)
📝 crates/proto/src/https/https_server.rs (+1 -1)
📝 crates/resolver/src/dns_lru.rs (+1 -2)

📄 Description

replace .max().min() constructs with .clamp()


fixes: #1445


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/1473 **Author:** [@chrismiceli](https://github.com/chrismiceli) **Created:** 4/30/2021 **Status:** ✅ Merged **Merged:** 2/17/2022 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `1445` --- ### 📝 Commits (1) - [`3e29c0b`](https://github.com/hickory-dns/hickory-dns/commit/3e29c0bc3ae7b9db4b0e8f79369bdb5306ed6200) 1445 Replace all min & max constructs with clamp ### 📊 Changes **3 files changed** (+5 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `crates/proto/src/https/https_client_stream.rs` (+3 -3) 📝 `crates/proto/src/https/https_server.rs` (+1 -1) 📝 `crates/resolver/src/dns_lru.rs` (+1 -2) </details> ### 📄 Description replace .max().min() constructs with .clamp() ---- fixes: #1445 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 08:49:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#2354
No description provided.