Skip to content

nit(app): consolidate impl Config blocks #3919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2025
Merged

Conversation

cratelyn
Copy link
Collaborator

this is a trivial, cosmetic change.

Config has two consecutive impl blocks in the linkerd-app library. these do not include distinct generics or trait bounds, so the methods contained therein do not need to live in two distinct impl blocks.

this commit consolidates these blocks.

while we are performing this change, we add two === impl T === banners, which are used throughout the project as greppable strings to find methods and trait implementations for a given type.

this is a trivial, cosmetic change.

`Config` has two consecutive `impl` blocks in the `linkerd-app` library.
these do not include distinct generics or trait bounds, so the methods
contained therein do not need to live in two distinct `impl` blocks.

this commit consolidates these blocks.

while we are performing this change, we add two `=== impl T ===`
banners, which are used throughout the project as greppable strings to
find methods and trait implementations for a given type.

Signed-off-by: katelyn martin <[email protected]>
@cratelyn cratelyn requested a review from a team as a code owner May 15, 2025 22:10
@cratelyn cratelyn enabled auto-merge (squash) May 15, 2025 22:10
@cratelyn cratelyn merged commit 37c0f96 into main May 16, 2025
15 checks passed
@cratelyn cratelyn deleted the kate/app.nit-impl-blocks branch May 16, 2025 13:37
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