Skip to content

Commit ea9042b

Browse files
martin-kolarikjbr
authored andcommitted
Fix of doc
1 parent 86ee8f9 commit ea9042b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mysql.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ pub struct MySqlSessionStore {
3232

3333
impl MySqlSessionStore {
3434
/// constructs a new MySqlSessionStore from an existing
35-
/// sqlx::PgPool. the default table name for this session
35+
/// sqlx::MySqlPool. the default table name for this session
3636
/// store will be "async_sessions". To override this, chain this
3737
/// with [`with_table_name`](crate::MySqlSessionStore::with_table_name).
3838
///
3939
/// ```rust
4040
/// # use async_sqlx_session::MySqlSessionStore;
4141
/// # use async_session::Result;
4242
/// # fn main() -> Result { async_std::task::block_on(async {
43-
/// let pool = sqlx::PgPool::connect(&std::env::var("MYSQL_TEST_DB_URL").unwrap()).await.unwrap();
43+
/// let pool = sqlx::MySqlPool::connect(&std::env::var("MYSQL_TEST_DB_URL").unwrap()).await.unwrap();
4444
/// let store = MySqlSessionStore::from_client(pool)
4545
/// .with_table_name("custom_table_name");
4646
/// store.migrate().await;

0 commit comments

Comments
 (0)