Skip to content

Commit 8b5f2d7

Browse files
committed
Fix unused import in test when built without std
warning: unused import: `std::path::PathBuf` --> tests/test_expr.rs:4:5 | 4 | use std::path::PathBuf; | ^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
1 parent eecd247 commit 8b5f2d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_expr.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![allow(clippy::iter_cloned_collect, clippy::uninlined_format_args)]
22

33
use core::fmt::Display;
4+
#[cfg(feature = "std")]
45
use std::path::PathBuf;
56
use thiserror::Error;
67

0 commit comments

Comments
 (0)