Skip to content

rustfmt: Fix warnings#207

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:push-vxtvoylpvlqp
Mar 7, 2026
Merged

rustfmt: Fix warnings#207
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:push-vxtvoylpvlqp

Conversation

@tcharding
Copy link
Member

The formatter is emitting warnings:

cargo +$(cat ./nightly-version) fmt --all
Warning: the `version` option is deprecated. Use `style_edition` instead.

Remove version and add stlye_edtion and set it to 2021.

This is the same as we did in rust-bitcoin in 2024, gee wiz

rust-bitcoin/rust-bitcoin#3432

The formatter is emitting warnings:

```
cargo +$(cat ./nightly-version) fmt --all
Warning: the `version` option is deprecated. Use `style_edition` instead.
```

Remove `version` and add `stlye_edtion` and set it to 2021.

This is the same as we did in `rust-bitcoin` in 2024, gee wiz

  rust-bitcoin/rust-bitcoin#3432
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 7f6c8c3; successfully ran local tests

@apoelstra apoelstra merged commit eea0f89 into rust-bitcoin:master Mar 7, 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