Skip to content

minor fixups for config#1379

Draft
daniel-noland wants to merge 4 commits intomainfrom
pr/daniel-noland/minor-fixups-for-config
Draft

minor fixups for config#1379
daniel-noland wants to merge 4 commits intomainfrom
pr/daniel-noland/minor-fixups-for-config

Conversation

@daniel-noland
Copy link
Collaborator

@daniel-noland daniel-noland commented Mar 23, 2026

Draft for the moment. Just fixing lints in the config crate before I start working on the wasm stuff

Note: claude was used (mostly to organize commits)

daniel-noland and others added 4 commits March 23, 2026 13:33
Remove `#![allow(clippy::redundant_closure_for_method_calls)]` and replace
all redundant closures with method references throughout the config crate.

I actually don't love this particular change because I thought it was fine
before.  That said, I hate having arguments with the linter a lot more.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Daniel Noland <daniel@githedgehog.com>
Remove `#![allow(clippy::doc_markdown)]` and add backticks around type
names in doc comments throughout the config crate.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Daniel Noland <daniel@githedgehog.com>
Remove `#![allow(clippy::missing_errors_doc)]` and add errors doc
sections to all public functions returning Result throughout the config
crate.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Daniel Noland <daniel@githedgehog.com>
Remove `#![allow(clippy::struct_excessive_bools)]` and add per-struct
`#[allow(clippy::struct_excessive_bools)]` annotations on BGP and BMP
config structs where booleans directly model protocol flags.

The lint removal was actually perfectly fine, but should be done on a
per struct level rather than package wide.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Daniel Noland <daniel@githedgehog.com>
@daniel-noland daniel-noland force-pushed the pr/daniel-noland/minor-fixups-for-config branch from 77b4262 to bda638a Compare March 23, 2026 19:34
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.

1 participant