diff options
author | Radosław Kot <rdkt13@gmail.com> | 2021-10-23 17:16:52 +0200 |
---|---|---|
committer | Radosław Kot <rdkt13@gmail.com> | 2021-10-23 17:16:52 +0200 |
commit | b09d57a1a649a13fdea247d0016e043d4eeff285 (patch) | |
tree | 696fc33eac5b235bf8404a6874dcc435035b39fc /src/file/source/mod.rs | |
parent | e0df1523a4569742ac10636a8cb975d11b453d54 (diff) |
Change FileExtensions (rename, make subtrait)
Diffstat (limited to 'src/file/source/mod.rs')
-rw-r--r-- | src/file/source/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file/source/mod.rs b/src/file/source/mod.rs index cd37317..3c3d10c 100644 --- a/src/file/source/mod.rs +++ b/src/file/source/mod.rs @@ -4,12 +4,12 @@ pub mod string; use std::error::Error; use std::fmt::Debug; -use crate::{file::FileExtensions, Format}; +use crate::{file::FileStoredFormat, Format}; /// Describes where the file is sourced pub trait FileSource<T>: Debug + Clone where - T: Format + FileExtensions, + T: Format + FileStoredFormat, { fn resolve( &self, |