Skip to content

Conversation

@xtqqczze
Copy link
Contributor

@xtqqczze xtqqczze force-pushed the clippy/implicit_clone branch 3 times, most recently from 7dc51b5 to ba23fd8 Compare December 31, 2025 17:16
@xtqqczze
Copy link
Contributor Author

rebased to fix merge conflicts

@xtqqczze xtqqczze force-pushed the clippy/implicit_clone branch from ba23fd8 to 1c18036 Compare December 31, 2025 17:21
@xtqqczze
Copy link
Contributor Author

warning: this call to `clone` can be replaced with `std::slice::from_ref`
  --> src/highlight/file_tester.rs:91:13
   |
91 |             &[self.working_directory.clone()],
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::slice::from_ref(&self.working_directory)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cloned_ref_to_slice_refs
   = note: requested on the command line with `-W clippy::cloned-ref-to-slice-refs`

rebased to fix

@xtqqczze xtqqczze marked this pull request as ready for review December 31, 2025 17:40
@krobelus krobelus added this to the fish 4.4 milestone Jan 2, 2026
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