fix multiples warnings

This commit is contained in:
grimhilt 2023-10-28 15:49:16 +02:00
parent 22b9351862
commit 81c24b5e3c
3 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
use std::io::{self, Write, BufRead};
use std::io::Write;
use std::fs::OpenOptions;
use std::path::{Path, PathBuf};
use clap::Values;

View File

@ -1,8 +1,5 @@
use std::env;
use lazy_static::lazy_static;
use std::sync::Mutex;
use std::path::PathBuf;
use dotenv::dotenv;
use reqwest::Client;
use reqwest::RequestBuilder;
use reqwest::multipart::Form;

View File

@ -4,7 +4,7 @@ pub trait ApiCall {
fn new() -> Self where Self: Sized {
unimplemented!()
}
fn set_url(&mut self, url: &str) -> &mut Self {
fn set_url(&mut self, _url: &str) -> &mut Self {
self
}
fn send(&mut self) -> Result<Option<String>, ApiError> {