Bug 1889260 - Remove redundant imports from webdriver. r=webdriver-reviewers,whimboo

Differential Revision: https://phabricator.services.mozilla.com/D206440
This commit is contained in:
Mike Hommey 2024-04-03 06:54:25 +00:00
Родитель d07a23ca40
Коммит 49def4b0fd
3 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -14,7 +14,7 @@ use crate::error::{ErrorStatus, WebDriverError, WebDriverResult};
use crate::httpapi::{Route, VoidWebDriverExtensionRoute, WebDriverExtensionRoute};
use crate::Parameters;
use serde::de::{self, Deserialize, Deserializer};
use serde_json::{self, Value};
use serde_json::Value;
#[derive(Debug, PartialEq)]
pub enum WebDriverCommand<T: WebDriverExtensionCommand> {

Просмотреть файл

@ -7,7 +7,6 @@ use http::StatusCode;
use serde::de::{Deserialize, Deserializer};
use serde::ser::{Serialize, Serializer};
use std::borrow::Cow;
use std::convert::From;
use std::error;
use std::io;
use thiserror::Error;

Просмотреть файл

@ -10,7 +10,7 @@ use crate::httpapi::{
use crate::response::{CloseWindowResponse, WebDriverResponse};
use crate::Parameters;
use bytes::Bytes;
use http::{self, Method, StatusCode};
use http::{Method, StatusCode};
use std::marker::PhantomData;
use std::net::{SocketAddr, TcpListener as StdTcpListener};
use std::sync::mpsc::{channel, Receiver, Sender};
@ -19,7 +19,7 @@ use std::thread;
use tokio::net::TcpListener;
use tokio_stream::wrappers::TcpListenerStream;
use url::{Host, Url};
use warp::{self, Buf, Filter, Rejection};
use warp::{Buf, Filter, Rejection};
// Silence warning about Quit being unused for now.
#[allow(dead_code)]