From 157c4fb5aee6306d3879cea37369922bbc8323ee Mon Sep 17 00:00:00 2001 From: ciffelia Date: Mon, 19 Feb 2024 01:19:27 +0900 Subject: [PATCH] docs(transport): fix error in "Available transports" table (#943) --- src/transport/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/transport/mod.rs b/src/transport/mod.rs index bcbda31..b78e00a 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -32,7 +32,7 @@ //! | [`smtp`] | SMTP | [`SmtpTransport`] | [`AsyncSmtpTransport`] | Uses the SMTP protocol to send emails to a relay server | //! | [`sendmail`] | Sendmail | [`SendmailTransport`] | [`AsyncSendmailTransport`] | Uses the `sendmail` command to send emails | //! | [`file`] | File | [`FileTransport`] | [`AsyncFileTransport`] | Saves the email as an `.eml` file | -//! | [`stub`] | Debug | [`StubTransport`] | [`StubTransport`] | Drops the email - Useful for debugging | +//! | [`stub`] | Debug | [`StubTransport`] | [`AsyncStubTransport`] | Drops the email - Useful for debugging | //! //! ## Building an email //! @@ -97,6 +97,7 @@ //! [`FileTransport`]: crate::FileTransport //! [`AsyncFileTransport`]: crate::AsyncFileTransport //! [`StubTransport`]: crate::transport::stub::StubTransport +//! [`AsyncStubTransport`]: crate::transport::stub::AsyncStubTransport #[cfg(any(feature = "async-std1", feature = "tokio1"))] use async_trait::async_trait;