Skip to content

Commit ac49e78

Browse files
committed
rearr
1 parent 70f9253 commit ac49e78

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

vsd/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ use std::{collections::HashMap, path::PathBuf, sync::atomic::Ordering};
4343

4444
/// A downloader for DASH and HLS playlists.
4545
pub struct Downloader {
46-
client: Client,
4746
input: String,
47+
client: Client,
4848
base_url: Option<Url>,
4949
directory: Option<PathBuf>,
5050
output: Option<PathBuf>,
@@ -55,10 +55,10 @@ pub struct Downloader {
5555
}
5656

5757
impl Downloader {
58-
pub fn new(client: Client, input: String) -> Self {
58+
pub fn new(input: String, client: Client) -> Self {
5959
Self {
60-
client,
6160
input,
61+
client,
6262
base_url: None,
6363
directory: None,
6464
output: None,

0 commit comments

Comments
 (0)