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

Add redundant_as_str lint #11526

Merged
merged 8 commits into from
Sep 18, 2023
Merged

Add redundant_as_str lint #11526

merged 8 commits into from
Sep 18, 2023

Commits on Sep 17, 2023

  1. Add redundant_as_str lint

    This lint checks for `as_str` on a `String` immediately followed by `as_bytes` or `is_empty` as those methods are available on `String` too. This could possibly also be extended to `&[u8]` in the future.
    Dev380 committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    1c9f3be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01056c5 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    f2ab16e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00ca47b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    367ba9c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5224853 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    17d174d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d9d25e9 View commit details
    Browse the repository at this point in the history