Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

clippy: enable string_lit_as_bytes - #408

Closed
decofe wants to merge 1 commit into
tempofrom
zerosnacks/lint-string-lit-as-bytes
Closed

decofe wants to merge 1 commit into
tempofrom
zerosnacks/lint-string-lit-as-bytes

Conversation

@decofe

@decofe decofe commented Apr 13, 2026

Copy link
Copy Markdown
Member

Enable clippy::string_lit_as_bytes workspace-wide.

Replaces "...".as_bytes() with b"..." byte string literals — 2 findings fixed in crates/cli/src/utils/mod.rs.

Prompted by: zerosnacks

Co-Authored-By: zerosnacks <95942363+zerosnacks@users.noreply.github.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d8707-07ff-77cf-b7f2-5dc0f64200ec
@zerosnacks zerosnacks closed this Apr 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants