File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff 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" ) ]
173174pub fn cache_dir ( ) -> anyhow:: Result < std:: path:: PathBuf > {
174175 use anyhow:: Context as _;
175176 Ok ( directories:: BaseDirs :: new ( )
Original file line number Diff line number Diff line change @@ -48,10 +48,6 @@ pub enum SpirvSource {
4848}
4949
5050impl core:: fmt:: Display for SpirvSource {
51- #[ expect(
52- clippy:: min_ident_chars,
53- reason = "It's a core library trait implementation"
54- ) ]
5551 fn fmt ( & self , f : & mut core:: fmt:: Formatter < ' _ > ) -> core:: fmt:: Result {
5652 match self {
5753 Self :: CratesIO ( version) => version. fmt ( f) ,
You can’t perform that action at this time.
0 commit comments