diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 3630ceca..d2a608ca 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -36,10 +36,12 @@ _Ensure **all** of these are met:_ - [ ] _There are no merge conflicts_ - [ ] _You have personally reviewed your changes already before creating the PR_ - [ ] _The pull request passes the provided CI pipeline_ -- _If the changes were generated with AI tools:_ - - [ ] _Ensure it **fully** follows the [AI policy](https://github.com/ClementTsang/bottom/blob/main/AI_POLICY.md)._ - - [ ] _Specify how it was used in the "Other" section._ - - [ ] _Ensure that you, as a human, have personally reviewed the change_ + + +_If the changes were generated with AI tools:_ +- [ ] _Ensure it **fully** follows the [AI policy](https://github.com/ClementTsang/bottom/blob/main/AI_POLICY.md)._ +- [ ] _Specify how it was used in the "Other" section._ +- [ ] _Ensure that you, as a human, have personally reviewed the change_ ## Other diff --git a/src/app/data/store.rs b/src/app/data/store.rs index babc238f..a543ba76 100644 --- a/src/app/data/store.rs +++ b/src/app/data/store.rs @@ -295,7 +295,8 @@ impl InnerData { // Must trim one level further for macOS! static DISK_REGEX: OnceLock = OnceLock::new(); - #[expect( + // FIXME: Can remove this later once https://github.com/rust-lang/rust-clippy/pull/17681 lands in stable? + #[allow( clippy::regex_creation_in_loops, reason = "this is fine since it's done via a static OnceLock. In the future though, separate it out." )]