Skip to content

Mark negotiation copy helpers as must_use - #457

Merged
oferchen merged 1 commit into
masterfrom
implement-rsync-3.4.1-in-pure-rust
Oct 18, 2025
Merged

oferchen merged 1 commit into
masterfrom
implement-rsync-3.4.1-in-pure-rust

Conversation

@oferchen

@oferchen oferchen commented Oct 18, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • require callers to handle the results of negotiation buffer copy helpers to surface allocation and capacity errors
  • mirror the must-use annotations on both NegotiatedStream and NegotiatedStreamParts so Vec, slice, array, vectored, and writer copies warn on ignored outcomes

Testing

  • cargo test

@oferchen
oferchen merged commit e9fb8b8 into master Oct 18, 2025
@oferchen
oferchen deleted the implement-rsync-3.4.1-in-pure-rust branch October 18, 2025 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant