Skip to content

Drop obsolete unused-import workaround - #1001

Merged
apoelstra merged 1 commit into
rust-bitcoin:masterfrom
satsfy:fix-unused-import-comment
Jul 12, 2026
Merged

Drop obsolete unused-import workaround#1001
apoelstra merged 1 commit into
rust-bitcoin:masterfrom
satsfy:fix-unused-import-comment

Conversation

@satsfy

@satsfy satsfy commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

The #[cfg(not(test))] guard on the secp256k1 imports worked around an unused_imports warning tracked in rust-lang/rust#121684 (2024). That bug is fixed, so the guard is no longer needed.

Built with cargo +nightly-2026-06-26 build --all-targets, a recent nightly version, and had no warning.

This is not a priority at all, but I caught it during a codebase read.

The `#[cfg(not(test))]` guard on the secp256k1 imports worked around
a unused_imports warning tracked in rust-lang/rust#121684. That bug
is fixed, so the guard is no longer needed.
@satsfy
satsfy force-pushed the fix-unused-import-comment branch from eea0c62 to f6c5610 Compare July 10, 2026 14:35
@satsfy

satsfy commented Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

Force push rebases

@apoelstra apoelstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK f6c5610; successfully ran local tests

@apoelstra
apoelstra merged commit 6a55ef1 into rust-bitcoin:master Jul 12, 2026
14 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