Skip to content

Commit 6b615d9

Browse files
committed
Tests: fix clippy
1 parent 274e658 commit 6b615d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/cargo-gpu/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ pub struct Cli {
170170
/// may fail if we can't find the user home directory
171171
#[inline]
172172
#[cfg(not(test))]
173+
#[expect(clippy::cfg_not_test, reason = "tests use different cache_dir")]
173174
pub fn cache_dir() -> anyhow::Result<std::path::PathBuf> {
174175
use anyhow::Context as _;
175176
Ok(directories::BaseDirs::new()

0 commit comments

Comments
 (0)