diff --git a/README.md b/README.md index 7bc813418b..bf7ce35237 100644 --- a/README.md +++ b/README.md @@ -232,7 +232,7 @@ use sqlx::postgres::PgPoolOptions; // use sqlx::mysql::MySqlPoolOptions; // etc. -#[async_std::main] +#[async_std::main] // Requires the `attributes` feature of `async-std` // or #[tokio::main] // or #[actix_web::main] async fn main() -> Result<(), sqlx::Error> { @@ -255,6 +255,7 @@ async fn main() -> Result<(), sqlx::Error> { } ``` + ### Connecting A single connection can be established using any of the database connection types and calling `connect()`.