[PR #68] [MERGED] Make use of NonZero #139

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

📋 Pull Request Information

Original PR: https://github.com/matze/wastebin/pull/68
Author: @cgzones
Created: 9/22/2024
Status: Merged
Merged: 9/30/2024
Merged by: @matze

Base: masterHead: nonzero


📝 Commits (1)

📊 Changes

8 files changed (+45 additions, -18 deletions)

View changed files

📝 CHANGELOG.md (+5 -0)
📝 README.md (+1 -1)
📝 src/db.rs (+5 -2)
📝 src/env.rs (+3 -2)
📝 src/main.rs (+2 -1)
📝 src/pages.rs (+22 -9)
📝 src/routes/form.rs (+4 -2)
📝 src/routes/json.rs (+3 -1)

📄 Description

Make clear to readers that the value 0 is not supported and has no special meaning.

Also allows the compiler to improve enum layouts.


🔄 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/68 **Author:** [@cgzones](https://github.com/cgzones) **Created:** 9/22/2024 **Status:** ✅ Merged **Merged:** 9/30/2024 **Merged by:** [@matze](https://github.com/matze) **Base:** `master` ← **Head:** `nonzero` --- ### 📝 Commits (1) - [`144037d`](https://github.com/matze/wastebin/commit/144037d079e0e0846e7a615d9e0d79966847767c) Make use of NonZero ### 📊 Changes **8 files changed** (+45 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+5 -0) 📝 `README.md` (+1 -1) 📝 `src/db.rs` (+5 -2) 📝 `src/env.rs` (+3 -2) 📝 `src/main.rs` (+2 -1) 📝 `src/pages.rs` (+22 -9) 📝 `src/routes/form.rs` (+4 -2) 📝 `src/routes/json.rs` (+3 -1) </details> ### 📄 Description Make clear to readers that the value 0 is not supported and has no special meaning. Also allows the compiler to improve enum layouts. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 10:15:55 +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#139
No description provided.