From eb89f8890cb3e464073c669db12489280fc49f1f Mon Sep 17 00:00:00 2001 From: whtsht Date: Thu, 21 Sep 2023 11:00:10 +0900 Subject: [PATCH] docs(dns): remove since attribute --- transports/dns/src/lib.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/transports/dns/src/lib.rs b/transports/dns/src/lib.rs index ee02230998b4..ae7975b01c81 100644 --- a/transports/dns/src/lib.rs +++ b/transports/dns/src/lib.rs @@ -63,14 +63,14 @@ mod config; pub use config::async_std; #[cfg(feature = "async-std")] -#[deprecated(since = "0.40.0", note = "Use `async_std::Config` instead.")] +#[deprecated(note = "Use `async_std::Config` instead.")] pub type DnsConfig = async_std::Config; #[cfg(feature = "tokio")] pub use config::tokio; #[cfg(feature = "tokio")] -#[deprecated(since = "0.40.0", note = "Use `tokio::Config` instead.")] +#[deprecated(note = "Use `tokio::Config` instead.")] pub type TokioDnsConfig = tokio::Config; use async_trait::async_trait; @@ -130,10 +130,7 @@ pub struct Config { resolver: R, } -#[deprecated( - since = "0.40.0", - note = "Use `async_std::Config` or `tokio::Config` instead." -)] +#[deprecated(note = "Use `async_std::Config` or `tokio::Config` instead.")] pub type GenDnsConfig = Config; impl Transport for Config @@ -360,7 +357,7 @@ pub enum Error { TooManyLookups, } -#[deprecated(since = "0.40.0", note = "Use `Error` instead.")] +#[deprecated(note = "Use `Error` instead.")] pub type DnsError = Error; impl fmt::Display for Error