Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have noticed few build warnings on master and I thought I'd give a go at suppressing them. So far I have not changed any software behaviour, just removed unused parentheses and removed the warning using an
allow
attribute.I have justified the used of the
allow
attribute in the commit.Do you prefer justifying the use of
allow
attribute with in code comments?Also, I assume that we are keeping the used of
description()
in purpose. Let me know if you'd prefer to see an implementation and use of theDisplay
trait instead (as per Rust's recommendation).I have not removed the warning
warning: field is never read: 'logger'
forChainWatchInterfaceUtil
andKeysManager
because indeed, it is never read and I cannot seem to grasp why this field is present.Some guidance would be greatly appreciated 🙂