rust/clippy_lints
bors baaddf2b84 Auto merge of #8611 - Alexendoo:module-files-relative-paths, r=llogiq
Handle relative paths in module_files lints

The problem being that when clippy is run in the project's directory `lp` would be a relative path, this wasn't caught by the tests as there `lp` is an absolute path. Being a relative path it did not start with `trim_src_path` and so was ignored

Also allowed the removal of some `.to_os_string`/`.to_owned`s

changelog: Fixes [`self_named_module_files`] and [`mod_module_files`] not linting

Fixes #8123, cc `@DevinR528`
2022-04-02 07:06:03 +00:00
..
src Auto merge of #8611 - Alexendoo:module-files-relative-paths, r=llogiq 2022-04-02 07:06:03 +00:00
Cargo.toml Update itertools 2022-03-04 11:54:28 -06:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.