Remove explicit imports of std::future::Future, as it is now in the prelude
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
// Please see LICENSE in the repository root for full details.
|
||||
|
||||
use std::{future::Future, process::ExitCode, time::Duration};
|
||||
use std::{process::ExitCode, time::Duration};
|
||||
|
||||
use futures_util::future::{BoxFuture, Either};
|
||||
use mas_handlers::ActivityTracker;
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
// Please see LICENSE in the repository root for full details.
|
||||
|
||||
use std::{
|
||||
future::Future,
|
||||
str::FromStr,
|
||||
sync::{Arc, LazyLock},
|
||||
time::Duration,
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
// Please see LICENSE in the repository root for full details.
|
||||
|
||||
use std::{
|
||||
future::Future,
|
||||
pin::Pin,
|
||||
sync::Arc,
|
||||
task::{Context, Poll},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
// Please see LICENSE in the repository root for full details.
|
||||
|
||||
use std::{future::Future, time::Instant};
|
||||
use std::time::Instant;
|
||||
|
||||
use opentelemetry::{KeyValue, metrics::Histogram};
|
||||
use pin_project_lite::pin_project;
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
// Please see LICENSE in the repository root for full details.
|
||||
|
||||
use std::future::Future;
|
||||
|
||||
use opentelemetry::{KeyValue, metrics::UpDownCounter};
|
||||
use pin_project_lite::pin_project;
|
||||
use tower::{Layer, Service};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
// Please see LICENSE in the repository root for full details.
|
||||
|
||||
use std::{future::Future, task::ready};
|
||||
use std::task::ready;
|
||||
|
||||
use pin_project_lite::pin_project;
|
||||
use tracing::Span;
|
||||
|
||||
Reference in New Issue
Block a user