fix multiples warnings
This commit is contained in:
parent
22b9351862
commit
81c24b5e3c
@ -1,4 +1,4 @@
|
|||||||
use std::io::{self, Write, BufRead};
|
use std::io::Write;
|
||||||
use std::fs::OpenOptions;
|
use std::fs::OpenOptions;
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
use clap::Values;
|
use clap::Values;
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
use std::env;
|
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
use std::sync::Mutex;
|
use std::sync::Mutex;
|
||||||
use std::path::PathBuf;
|
|
||||||
use dotenv::dotenv;
|
|
||||||
use reqwest::Client;
|
use reqwest::Client;
|
||||||
use reqwest::RequestBuilder;
|
use reqwest::RequestBuilder;
|
||||||
use reqwest::multipart::Form;
|
use reqwest::multipart::Form;
|
||||||
|
@ -4,7 +4,7 @@ pub trait ApiCall {
|
|||||||
fn new() -> Self where Self: Sized {
|
fn new() -> Self where Self: Sized {
|
||||||
unimplemented!()
|
unimplemented!()
|
||||||
}
|
}
|
||||||
fn set_url(&mut self, url: &str) -> &mut Self {
|
fn set_url(&mut self, _url: &str) -> &mut Self {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
fn send(&mut self) -> Result<Option<String>, ApiError> {
|
fn send(&mut self) -> Result<Option<String>, ApiError> {
|
||||||
|
Loading…
Reference in New Issue
Block a user