Merge pull request #33 from imbolc/patch-3

Fix a few docstrings
This commit is contained in:
Diggory Blake 2022-07-05 16:10:10 +01:00 committed by GitHub
commit e1cbd9f551
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,7 +150,7 @@ pub async fn commit<'b, E: sqlx::Executor<'b, Database = Postgres>>(
Ok(())
}
/// Clear jobs from the specified queues.
/// Clear jobs from the specified channels.
pub async fn clear<'b, E: sqlx::Executor<'b, Database = Postgres>>(
executor: E,
channel_names: &[&str],
@ -162,7 +162,7 @@ pub async fn clear<'b, E: sqlx::Executor<'b, Database = Postgres>>(
Ok(())
}
/// Clear jobs from the specified queues.
/// Clear jobs from all channels.
pub async fn clear_all<'b, E: sqlx::Executor<'b, Database = Postgres>>(
executor: E,
) -> Result<(), sqlx::Error> {