mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 08:36:00 +03:00
[PR #196] [MERGED] Misc tweaks #201
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/matze/wastebin/pull/196
Author: @cgzones
Created: 12/21/2025
Status: ✅ Merged
Merged: 12/24/2025
Merged by: @matze
Base:
master← Head:misc📝 Commits (8)
7f8c4eeSimplify URL creationc273cf3Use .to_string() instead of bare format!f1e7f14Reuse string memory for HeaderValue01a0852Rename syntaxes of Highlighter and tweak sorting66f1237Avoid unreachable branchf51bb44Extract common tail function call from if-else branches70e66d7Preallocate string capacity to minimize intermediate allocations8bf8bb9Use format arguments instead to merge string formatting📊 Changes
4 files changed (+39 additions, -46 deletions)
View changed files
📝
crates/wastebin_highlight/src/highlight.rs(+20 -29)📝
crates/wastebin_highlight/src/theme.rs(+9 -10)📝
crates/wastebin_server/src/handlers/download.rs(+2 -2)📝
crates/wastebin_server/src/handlers/insert/form.rs(+8 -5)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.