Skip to content

Conversation

tcharding
Copy link
Member

This is a bit silly since we cannot implement Default for SpinLock<u64> but clippy is complaining so throw it in.

This is a bit silly since we cannot implement `Default` for
`SpinLock<u64>` but clippy is complaining so throw it in.
@tcharding tcharding changed the title Implement Default for SpinLock<SelfContainedContext> Implement Default for SpinLock<SelfContainedContext> Sep 24, 2025
@tcharding
Copy link
Member Author

Also #858 has red CI that hopefully this fixes. I don't see the warning locally when I lint and I don't know why its showing up in CI now after merge.

@tcharding tcharding mentioned this pull request Sep 24, 2025
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 3216efd; successfully ran local tests; sure

@apoelstra apoelstra merged commit c3b151a into rust-bitcoin:master Sep 24, 2025
28 checks passed
chain-forgexcr45 added a commit to chain-forgexcr45/rust-secp256k1 that referenced this pull request Sep 28, 2025
…ock<SelfContainedContext>`

3216efd3c5ff97fba54ffaa09ac3ac38482336f5 Implement Default for SpinLock<SelfContainedContext> (Tobin C. Harding)

Pull request description:

  This is a bit silly since we cannot implement `Default` for `SpinLock<u64>` but clippy is complaining so throw it in.


ACKs for top commit:
  apoelstra:
    ACK 3216efd3c5ff97fba54ffaa09ac3ac38482336f5; successfully ran local tests; sure


Tree-SHA512: e3786d80eaea60a4f547145fd76c77966fbbc68b7b111044e6db38f76ba1700baea6924a282b52cb86a16829489f119e279c0b4abaf145cb00bc8cc6b5ae5b11
william2332-limf added a commit to william2332-limf/rust-secp256k1 that referenced this pull request Oct 2, 2025
…ock<SelfContainedContext>`

3216efd3c5ff97fba54ffaa09ac3ac38482336f5 Implement Default for SpinLock<SelfContainedContext> (Tobin C. Harding)

Pull request description:

  This is a bit silly since we cannot implement `Default` for `SpinLock<u64>` but clippy is complaining so throw it in.


ACKs for top commit:
  apoelstra:
    ACK 3216efd3c5ff97fba54ffaa09ac3ac38482336f5; successfully ran local tests; sure


Tree-SHA512: e3786d80eaea60a4f547145fd76c77966fbbc68b7b111044e6db38f76ba1700baea6924a282b52cb86a16829489f119e279c0b4abaf145cb00bc8cc6b5ae5b11
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