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

clippy: enable option_as_ref_cloned - #407

Closed
decofe wants to merge 1 commit into
tempofrom
zerosnacks/lint-option-as-ref-cloned
Closed

decofe wants to merge 1 commit into
tempofrom
zerosnacks/lint-option-as-ref-cloned

Conversation

@decofe

@decofe decofe commented Apr 13, 2026

Copy link
Copy Markdown
Member

Enable clippy::option_as_ref_cloned workspace-wide.

Replaces .as_ref().cloned() with idiomatic .clone() — 2 findings fixed:

  • crates/macros/src/console_fmt.rs
  • crates/script/src/execute.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