[PR #137] [MERGED] Avoid unnecessary clones #168

Closed
opened 2026-02-27 10:16:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/matze/wastebin/pull/137
Author: @cgzones
Created: 3/29/2025
Status: Merged
Merged: 3/29/2025
Merged by: @matze

Base: masterHead: clone


📝 Commits (2)

  • 6786cd7 Drop Clone trait from Password
  • 6a0728c Avoid unnecessary Id cloning

📊 Changes

4 files changed (+7 additions, -8 deletions)

View changed files

📝 crates/wastebin_core/src/crypto.rs (+0 -1)
📝 crates/wastebin_server/src/handlers/html/burn.rs (+2 -3)
📝 crates/wastebin_server/src/handlers/html/paste.rs (+3 -2)
📝 crates/wastebin_server/src/handlers/html/qr.rs (+2 -2)

📄 Description

No description provided


🔄 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/matze/wastebin/pull/137 **Author:** [@cgzones](https://github.com/cgzones) **Created:** 3/29/2025 **Status:** ✅ Merged **Merged:** 3/29/2025 **Merged by:** [@matze](https://github.com/matze) **Base:** `master` ← **Head:** `clone` --- ### 📝 Commits (2) - [`6786cd7`](https://github.com/matze/wastebin/commit/6786cd77bdd2584fc6fb406030a7ef29ab66b1fc) Drop Clone trait from Password - [`6a0728c`](https://github.com/matze/wastebin/commit/6a0728cdb3bbc5aa1f181be9fd2dadfd71f4b393) Avoid unnecessary Id cloning ### 📊 Changes **4 files changed** (+7 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `crates/wastebin_core/src/crypto.rs` (+0 -1) 📝 `crates/wastebin_server/src/handlers/html/burn.rs` (+2 -3) 📝 `crates/wastebin_server/src/handlers/html/paste.rs` (+3 -2) 📝 `crates/wastebin_server/src/handlers/html/qr.rs` (+2 -2) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 10:16:01 +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/wastebin-matze#168
No description provided.