This commit is contained in:
Adrian Heine 2020-10-17 23:44:52 +02:00
parent b53267f406
commit da98bfba8c
20 changed files with 80 additions and 61 deletions

View file

@ -11,7 +11,7 @@ pub struct Dir<P> {
}
impl<P> Dir<P> {
pub fn new(path: P) -> Self {
pub const fn new(path: P) -> Self {
Self { path }
}
}