Skip to content

feat: #[must_use], stricter clippy lints, crate-level docs#37

Merged
krlvi merged 2 commits intomainfrom
polish
Apr 8, 2026
Merged

feat: #[must_use], stricter clippy lints, crate-level docs#37
krlvi merged 2 commits intomainfrom
polish

Conversation

@krlvi
Copy link
Copy Markdown
Collaborator

@krlvi krlvi commented Apr 8, 2026

Summary

  • Add #[must_use] to all 5 workflow output types (SerializeOutput, MaterializeOutput, PullOutput, PushOutput, MaterializeRefResult)
  • Add 4 warn-level clippy lints (redundant_closure_for_method_calls, cloned_instead_of_copied, implicit_clone, map_unwrap_or) and auto-fix 18 violations
  • Add comprehensive crate-level //! documentation connecting to the gmeta spec: core concepts, quick-start example, data exchange workflow, blobless clone support

Test plan

  • cargo test --workspace — all 140 tests pass
  • cargo clippy --workspace --all-targets -- -D warnings — zero warnings
  • cargo fmt --all -- --check — clean

Add #[must_use] to all workflow output types. Add 4 warn-level
clippy lints and auto-fix 18 violations. Add comprehensive
crate-level documentation connecting to the gmeta spec.
Add 3 more clippy lints and fix all violations: uninlined_format_args
(auto-fixed in tests), manual_let_else (37 match/if-let patterns
converted to let...else), semicolon_if_nothing_returned (zero cost).
@krlvi krlvi merged commit 5da0d5a into main Apr 8, 2026
3 checks passed
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