docs: fix credentials copy-paste error (#1019)

This commit is contained in:
Paolo Barbolini
2024-12-25 09:05:34 +01:00
committed by GitHub
parent 382e15013a
commit 4513e602d6
2 changed files with 2 additions and 2 deletions

View File

@@ -353,7 +353,7 @@ impl AsyncSmtpTransportBuilder {
self
}
/// Set the authentication mechanism to use
/// Set the authentication credentials to use
pub fn credentials(mut self, credentials: Credentials) -> Self {
self.info.credentials = Some(credentials);
self

View File

@@ -270,7 +270,7 @@ impl SmtpTransportBuilder {
self
}
/// Set the authentication mechanism to use
/// Set the authentication credentials to use
pub fn credentials(mut self, credentials: Credentials) -> Self {
self.info.credentials = Some(credentials);
self