Skip to content

Commit 88c434b

Browse files
committed
Fixes
1 parent 6b102bb commit 88c434b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/file_utils/file_path.rs

+6
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ impl FilePath {
7373
}
7474
}
7575

76+
impl Into<FilePath> for &'_ str {
77+
fn into(self) -> FilePath {
78+
FilePath::from_str(self)
79+
}
80+
}
81+
7682
#[cfg(test)]
7783
mod test {
7884

0 commit comments

Comments
 (0)