Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Clippy Warnings and Code Quality Improvements #145

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

qvkare
Copy link
Contributor

@qvkare qvkare commented Jan 16, 2025

Changes

  • Replaced buffer operations with more efficient write_all
  • Optimized string handling (to_string() instead of format!)
  • Used idiomatic Rust patterns (is_empty(), flatten, cloned)
  • Improved error handling and type safety
  • Enhanced enum naming conventions
  • Removed unnecessary cloning and returns

Impact

  • No functionality changes
  • Better performance and memory usage
  • All tests passing

@dmikey dmikey requested review from Joinhack and zees-dev and removed request for Joinhack January 19, 2025 14:41
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the name is fine with Field suffix.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's different < 1 with empty

@Joinhack Joinhack merged commit cad54a1 into blessnetwork:main Jan 20, 2025
2 of 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.

2 participants