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

remove duplicate is_empty #1031

Merged

Conversation

vladimirfomene
Copy link
Contributor

Duplicate is_empty method

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

@vladimirfomene vladimirfomene force-pushed the remove-duplicate-is_empty branch 2 times, most recently from 1bf784c to c844416 Compare July 14, 2023 14:39
@vladimirfomene vladimirfomene force-pushed the remove-duplicate-is_empty branch from c844416 to f5074ee Compare July 14, 2023 14:52
@vladimirfomene vladimirfomene self-assigned this Jul 15, 2023
@@ -72,6 +67,7 @@ impl<K: Ord> Append for DerivationAdditions<K> {
self.0.append(&mut other.0);
}

/// Returns whether the additions are empty.
fn is_empty(&self) -> bool {
Copy link
Contributor

Choose a reason for hiding this comment

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

The other one was pub, this one is not

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I saw that but also saw that the Append trait is public.

Copy link
Member

@danielabrozzoni danielabrozzoni left a comment

Choose a reason for hiding this comment

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

ACK f5074ee

@danielabrozzoni danielabrozzoni merged commit cb626e9 into bitcoindevkit:master Jul 24, 2023
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