chore: give unused function a test annotation

Former-commit-id: 94acaa37c593f4952c349d663de71e3f1990926b
This commit is contained in:
Matan Kushner 2020-02-05 23:03:26 -05:00
parent 670c7a3591
commit 66d5f34184
1 changed files with 1 additions and 0 deletions

View File

@ -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))
}