Skip to content

Commit 148c8c0

Browse files
author
share121
committed
style: 格式化代码
1 parent 140deb3 commit 148c8c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
mod base;
2+
pub mod common;
23
mod core;
34
#[cfg(feature = "file")]
45
pub mod file;
56
#[cfg(feature = "reqwest")]
67
pub mod reqwest;
7-
pub mod common;
88

99
pub use base::event::*;
1010
pub use base::merge_progress::*;

src/reqwest/prefetch.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
use crate::common::UrlInfo;
12
use crate::reqwest::ClientFetcher;
23
use content_disposition;
34
use reqwest::{
4-
header::{self, HeaderMap}, Client, IntoUrl, StatusCode,
5-
Url,
5+
Client, IntoUrl, StatusCode, Url,
6+
header::{self, HeaderMap},
67
};
78
use sanitize_filename;
8-
use crate::common::UrlInfo;
99

1010
fn get_file_size(headers: &HeaderMap, status: &StatusCode) -> u64 {
1111
if *status == StatusCode::PARTIAL_CONTENT {

0 commit comments

Comments
 (0)