Skip to content

fix: resolve clippy warnings in BFV implementation and tests#140

Draft
rkdud007 wants to merge 11 commits intomainfrom
rkdud007/fix-type-errors
Draft

fix: resolve clippy warnings in BFV implementation and tests#140
rkdud007 wants to merge 11 commits intomainfrom
rkdud007/fix-type-errors

Conversation

@rkdud007
Copy link
Copy Markdown
Collaborator

Fixed clippy warnings throughout the codebase to improve code quality and eliminate compiler warnings. The changes address unnecessary casts, needless borrows, and unused variable warnings.

Changes include removing unnecessary as u8 casts in favor of more idiomatic 1_u8 literals, eliminating needless reference operations in function calls, and properly marking unused variables with underscore prefixes.

All changes maintain existing functionality while following Rust best practices and clippy recommendations.

🤖 Generated with Claude Code

rkdud007 and others added 11 commits June 11, 2025 12:57
Fixed unnecessary casts, needless borrows, and unused variable warnings:
- Changed `1 as u8` to more idiomatic `1_u8` in FinRingElem creation
- Removed needless borrows for params_q in decompose_base calls
- Prefixed unused variables with underscore to silence warnings

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@rkdud007 rkdud007 marked this pull request as draft July 16, 2025 00:49
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