cleaning warnings

This commit is contained in:
grimhilt
2023-08-27 22:57:05 +02:00
parent 863e3bd68a
commit a35c7b20d8
13 changed files with 16 additions and 50 deletions

View File

@@ -41,7 +41,7 @@ impl Copy {
self.api_builder.send().await
}
pub fn overwrite(&mut self, overwrite: bool) -> &mut Copy {
pub fn _overwrite(&mut self, overwrite: bool) -> &mut Copy {
self.api_builder.set_header("Overwrite", HeaderValue::from_str({
if overwrite { "T" } else { "F" }
}).unwrap());

View File

@@ -42,7 +42,7 @@ impl Downloader {
self
}
pub fn add_file(&mut self, file: ObjProps) -> &mut Downloader {
pub fn _add_file(&mut self, file: ObjProps) -> &mut Downloader {
self.files.push(file);
self
}

View File

@@ -41,7 +41,7 @@ impl Move {
self.api_builder.send().await
}
pub fn overwrite(&mut self, overwrite: bool) -> &mut Move {
pub fn _overwrite(&mut self, overwrite: bool) -> &mut Move {
self.api_builder.set_header("Overwrite", HeaderValue::from_str({
if overwrite { "T" } else { "F" }
}).unwrap());