Skip to content
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

Investigate elide lifetimes #23

Merged
merged 11 commits into from
Nov 11, 2024

Conversation

ScottGibb
Copy link
Contributor

This PR is focused on getting rid of clippy nightly warnings based on redundant lifetimes. It aims to solve the issue listed in #21.

I did find that I had to turn my format on save off when doing this PR as it would break my imports in some of the files resulting in a mess of errors.

The code still builds in both nightly and stable and clippy no longer has any warnings in either stable or nightly :)

src/param.rs Outdated Show resolved Hide resolved
@ScottGibb ScottGibb marked this pull request as ready for review November 8, 2024 12:55
@alexmoon
Copy link
Collaborator

alexmoon commented Nov 8, 2024

Please revert all the formatting changes other than the lifetime changes (there are changes in some of the macros, the hex capitalization issue, some parentheses that went missing). This PR should only touch the lifetime issues flagged by clippy. Thanks!

@ScottGibb
Copy link
Contributor Author

Will do tomorrow! Thanks @alexmoon :)

@ScottGibb
Copy link
Contributor Author

@alexmoon That should be everything formatted correctly now, only changes on the PR are the lifetimes and the formatting around it :)

@lulf lulf merged commit 5b4f1d5 into embassy-rs:main Nov 11, 2024
1 check passed
@ScottGibb ScottGibb deleted the investigate-elide-lifetimes branch November 11, 2024 15:16
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.

5 participants