refactor(fs): use type aliases
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 1m53s
Rust / build (map[name:nightly]) (push) Successful in 3m35s
Release Please / Release-plz (push) Successful in 1m25s

This commit is contained in:
Paul Campbell 2024-11-03 11:28:00 +00:00
parent 3be53a969d
commit b593a8f67e
2 changed files with 4 additions and 4 deletions

View file

@ -3,10 +3,10 @@ use crate::fs::{DirItem, DirItemIterator, Result};
use super::{ use super::{
path::{DirMarker, PathReal}, 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 /// Creates a new, empty directory at the path
/// ///
/// Wrapper for [std::fs::create_dir] /// Wrapper for [std::fs::create_dir]

View file

@ -4,10 +4,10 @@ use crate::fs::Result;
use super::{ use super::{
path::{FileMarker, PathReal}, path::{FileMarker, PathReal},
reader::Reader, reader::Reader,
Error, Error, FileHandle,
}; };
impl<'base, 'path> PathReal<'base, 'path, FileMarker> { impl<'base, 'path> FileHandle<'base, 'path> {
/// Returns a [Reader] for the file. /// Returns a [Reader] for the file.
/// ///
/// ``` /// ```