diff options
Diffstat (limited to 'src/commands/io.rs')
-rw-r--r-- | src/commands/io.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commands/io.rs b/src/commands/io.rs index 2501583..8e44b2b 100644 --- a/src/commands/io.rs +++ b/src/commands/io.rs | |||
@@ -102,7 +102,11 @@ pub fn export(config: &Cfg, list: Option<String>) -> MLE<()> { | |||
102 | Ok(()) | 102 | Ok(()) |
103 | } | 103 | } |
104 | 104 | ||
105 | pub async fn import(config: &Cfg, file_str: &str, direct_download: bool) -> MLE<()> { | 105 | pub async fn import( |
106 | config: &Cfg, | ||
107 | file_str: &str, | ||
108 | direct_download: bool, | ||
109 | ) -> MLE<()> { | ||
106 | let mut file = File::open(file_str)?; | 110 | let mut file = File::open(file_str)?; |
107 | let mut content = String::new(); | 111 | let mut content = String::new(); |
108 | file.read_to_string(&mut content)?; | 112 | file.read_to_string(&mut content)?; |