close
Skip to content

minor fixups for config (AI assisted, undergoing review by human co-author, do not review)#21

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

minor fixups for config (AI assisted, undergoing review by human co-author, do not review)#21
daniel-noland wants to merge 4 commits intomainfrom
pr/daniel-noland/minor-fixups-for-config

Conversation

@daniel-noland
Copy link
Copy Markdown
Owner

AI assisted, undergoing review by human co-author, do not review

Seriously. If you aren't an AI or a coauthor don't review this.

DID YOU READ THE DESCRIPTION?

${\color{red} \textrm{If you did not write this you are not supposed to be reviewing it yet}}$


Moved from githedgehog#1379

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant