refactor(fs): use type aliases
This commit is contained in:
parent
3be53a969d
commit
b593a8f67e
2 changed files with 4 additions and 4 deletions
|
@ -3,10 +3,10 @@ use crate::fs::{DirItem, DirItemIterator, Result};
|
|||
|
||||
use super::{
|
||||
path::{DirMarker, PathReal},
|
||||
Error, FileMarker, PathMarker,
|
||||
DirHandle, Error, FileMarker, PathMarker,
|
||||
};
|
||||
|
||||
impl<'base, 'path> PathReal<'base, 'path, DirMarker> {
|
||||
impl<'base, 'path> DirHandle<'base, 'path> {
|
||||
/// Creates a new, empty directory at the path
|
||||
///
|
||||
/// Wrapper for [std::fs::create_dir]
|
||||
|
|
|
@ -4,10 +4,10 @@ use crate::fs::Result;
|
|||
use super::{
|
||||
path::{FileMarker, PathReal},
|
||||
reader::Reader,
|
||||
Error,
|
||||
Error, FileHandle,
|
||||
};
|
||||
|
||||
impl<'base, 'path> PathReal<'base, 'path, FileMarker> {
|
||||
impl<'base, 'path> FileHandle<'base, 'path> {
|
||||
/// Returns a [Reader] for the file.
|
||||
///
|
||||
/// ```
|
||||
|
|
Loading…
Reference in a new issue