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

code quality- Fixing serde clippy warning #367

Merged

Conversation

siddheshzz
Copy link
Contributor

What is the purpose of this pull request?

This PR fixed issue #361 part 2 fixing serde clippy warning.

  • Bug fix
  • Documentation update
  • New feature
  • Test
  • Other: Code Quality

Which crates are being modified?

  • floresta-chain
  • floresta-cli
  • floresta-common
  • floresta-compact-filters
  • floresta-electrum
  • floresta-watch-only
  • floresta-wire
  • floresta
  • florestad
  • Other:

Description

The purpose of PR is to fix clippy warning related to serde in slip132 and improving code quality along with applying fix to empty line.

Notes to the reviewers

As per recommendation the serde import can be simplified, and serde is always available so we can have a direct way by importing.
Simplifying serde in [slip132.rs]

Fix the clippy warning -
consider parenthesizing your expression: `0x40000002 | (1 << 24)`
empty line after doc comment

Checklist

  • I've signed all my commits
  • I ran just lint
  • I ran cargo test
  • I've checked the integration tests
  • I've followed the contribution guidelines
  • I'm linking the issue being fixed by this PR (if any)

@Davidson-Souza
Copy link
Collaborator

ACK 1a0a09a

@jaoleal
Copy link
Contributor

jaoleal commented Feb 5, 2025

ACK 1a0a09a.

NIT: can you sign the commit, please ?

@siddheshzz siddheshzz force-pushed the code-quality-simplifying-serde branch from 1a0a09a to f4232ba Compare February 5, 2025 18:08
@siddheshzz siddheshzz force-pushed the code-quality-simplifying-serde branch from f4232ba to 8da34aa Compare February 5, 2025 18:34
@Davidson-Souza
Copy link
Collaborator

re-ACK 8da34aa

@jaoleal
Copy link
Contributor

jaoleal commented Feb 5, 2025

re-ACK 8da34aa

@Davidson-Souza Davidson-Souza merged commit 879e263 into vinteumorg:master Feb 5, 2025
7 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.

3 participants