Skip to content

Conversation

@szokeasaurusrex
Copy link
Member

Description

Builds on the parent PRs by declaring chunk_size as NonZeroUsize on the ChunkServerOptions struct. This way, serde already will validate the value when deserializing; no further checks against zero are needed.

Issues

Copy link
Member Author

szokeasaurusrex commented Oct 30, 2025

@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review October 30, 2025 14:38
@szokeasaurusrex szokeasaurusrex requested review from a team as code owners October 30, 2025 14:38
Builds on the parent PRs by declaring `chunk_size` as `NonZeroUsize` on the `ChunkServerOptions` struct. This way, `serde` already will validate the value when deserializing; no further checks against zero are needed.
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/chunks-from-infallible branch from 5345e5d to 5b3a9bf Compare November 3, 2025 10:53
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/server-options-nonzerousize branch from e747c77 to 07fb49f Compare November 3, 2025 10:53
Base automatically changed from szokeasaurusrex/chunks-from-infallible to master November 3, 2025 10:59
@szokeasaurusrex szokeasaurusrex merged commit 07fb49f into master Nov 3, 2025
29 of 49 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/server-options-nonzerousize branch November 3, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants