diff options
Diffstat (limited to 'crates/shirabe-php-shim/src/rar.rs')
| -rw-r--r-- | crates/shirabe-php-shim/src/rar.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe-php-shim/src/rar.rs b/crates/shirabe-php-shim/src/rar.rs index 10c7e27d..475f6e1d 100644 --- a/crates/shirabe-php-shim/src/rar.rs +++ b/crates/shirabe-php-shim/src/rar.rs @@ -2,7 +2,7 @@ pub struct RarEntry; impl RarEntry { - pub fn extract(&self, _path: &str) -> bool { + pub fn extract(&self, _path: impl AsRef<std::path::Path>) -> bool { todo!() } } @@ -11,7 +11,7 @@ impl RarEntry { pub struct RarArchive; impl RarArchive { - pub fn open(_file: &str) -> Option<Self> { + pub fn open(_file: impl AsRef<std::path::Path>) -> Option<Self> { todo!() } |
