Skip to content

Commit 19456d4

Browse files
committed
fix(azure.rs): Move use at top
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
1 parent cb3a2ee commit 19456d4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/azure.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ use std::io::Write;
2626
use std::sync::Arc;
2727
use tempfile::Builder;
2828
use toml::Table;
29+
use std::fs::read_to_string;
2930

3031
#[derive(Deserialize)]
3132
struct AzureConfig {
@@ -137,8 +138,6 @@ async fn write_file_to_blob(filename: String, data: Vec<u8>, cont_type: String)
137138
return "OK";
138139
}
139140

140-
use std::fs::read_to_string;
141-
142141
/// Get headers from file (Maybe should be moved to a separate module, its not Azure specific)
143142
fn get_headers_from_file(filename: String) -> HeaderMap {
144143
let mut headers = HeaderMap::new();

0 commit comments

Comments
 (0)