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/string.rs | |
parent | e0df1523a4569742ac10636a8cb975d11b453d54 (diff) |
Change FileExtensions (rename, make subtrait)
Diffstat (limited to 'src/file/source/string.rs')
-rw-r--r-- | src/file/source/string.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file/source/string.rs b/src/file/source/string.rs index 700d574..577c1e7 100644 --- a/src/file/source/string.rs +++ b/src/file/source/string.rs @@ -2,7 +2,7 @@ use std::error::Error; use crate::{ file::source::FileSourceResult, - file::{FileExtensions, FileSource}, + file::{FileSource, FileStoredFormat}, Format, }; @@ -18,7 +18,7 @@ impl<'a> From<&'a str> for FileSourceString { impl<F> FileSource<F> for FileSourceString where - F: Format + FileExtensions + 'static, + F: Format + FileStoredFormat + 'static, { fn resolve( &self, |