Skip to content

refactor: remove unused MaybeString wrapper type#336

Merged
branchseer merged 1 commit intomainfrom
remove-maybe-string
Apr 16, 2026
Merged

refactor: remove unused MaybeString wrapper type#336
branchseer merged 1 commit intomainfrom
remove-maybe-string

Conversation

@branchseer
Copy link
Copy Markdown
Member

Summary

  • Delete MaybeString newtype wrapper (crates/vite_task/src/maybe_str.rs)
  • It existed solely to add bincode Encode/Decode to Vec<u8>, which wincode supports natively
  • The type was never referenced outside its own module

Test plan

  • cargo clippy passes
  • cargo test --workspace --exclude fspy passes

🤖 Generated with Claude Code

@branchseer branchseer force-pushed the remove-maybe-string branch from ea30426 to 5dd365d Compare April 16, 2026 12:57
MaybeString existed solely to add bincode Encode/Decode traits to
Vec<u8>. With wincode, Vec<u8> already implements SchemaWrite/SchemaRead
natively. The type was never referenced outside its own module.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@branchseer branchseer force-pushed the remove-maybe-string branch from 5dd365d to 666482e Compare April 16, 2026 13:04
@branchseer branchseer merged commit dca66ce into main Apr 16, 2026
9 checks passed
@branchseer branchseer deleted the remove-maybe-string branch April 16, 2026 13:12
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.

1 participant