Sync computers
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
use core::ops::Deref;
|
||||
|
||||
use alloc::string::String;
|
||||
|
||||
#[repr(transparent)]
|
||||
pub struct Path<'a> {
|
||||
inner: &'a str,
|
||||
}
|
||||
@@ -31,3 +36,13 @@ impl<'a> Path<'a> {
|
||||
!self.is_absolute()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct PathBuf {
|
||||
inner: String,
|
||||
}
|
||||
|
||||
impl<'a> Deref for PathBuf {
|
||||
type Target = Path<'a>;
|
||||
|
||||
fn deref(&self) -> &Self::Target {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user