mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-28 15:56:28 +00:00
chore: give unused function a test annotation
Former-commit-id: 94acaa37c593f4952c349d663de71e3f1990926b
This commit is contained in:
parent
670c7a3591
commit
66d5f34184
@ -177,6 +177,7 @@ pub struct DirContents {
|
||||
}
|
||||
|
||||
impl DirContents {
|
||||
#[cfg(test)]
|
||||
fn from_path(base: &PathBuf) -> Result<Self, std::io::Error> {
|
||||
Self::from_path_with_timeout(base, Duration::from_secs(30))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user