fix: let cannot be used for global variables (#1077)

This commit is contained in:
Paolo Barbolini
2025-04-03 09:50:06 +02:00
committed by GitHub
parent 6c0be84817
commit 63d8d30088
2 changed files with 2 additions and 2 deletions

View File

@@ -234,7 +234,7 @@ where
/// a proper URL encoder, like the following cargo script: /// a proper URL encoder, like the following cargo script:
/// ///
/// ```rust /// ```rust
/// # let _ = r#" /// # const TOML: &str = r#"
/// #!/usr/bin/env cargo /// #!/usr/bin/env cargo
/// ///
/// //! ```cargo /// //! ```cargo

View File

@@ -177,7 +177,7 @@ impl SmtpTransport {
/// a proper URL encoder, like the following cargo script: /// a proper URL encoder, like the following cargo script:
/// ///
/// ```rust /// ```rust
/// # let _ = r#" /// # const TOML: &str = r#"
/// #!/usr/bin/env cargo /// #!/usr/bin/env cargo
/// ///
/// //! ```cargo /// //! ```cargo