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());