Fix doc comment

This commit is contained in:
Joscha 2024-09-04 00:34:56 +02:00
parent a53254d2e7
commit 0c2e8e2ae5

View file

@ -34,13 +34,13 @@ impl SimpleVault {
/// ///
/// The `prepare` parameter allows access to the database after all /// The `prepare` parameter allows access to the database after all
/// migrations have occurred. This parameter could be replaced by executing /// migrations have occurred. This parameter could be replaced by executing
/// an [`Action`] performing the same operations.
/// ///
/// It is recommended to set a few pragmas before calling this function, for /// It is recommended to set a few pragmas before calling this function, for
/// example: /// example:
/// - `journal_mode` to `"wal"` /// - `journal_mode` to `"wal"`
/// - `foreign_keys` to `true` /// - `foreign_keys` to `true`
/// - `trusted_schema` to `false` /// - `trusted_schema` to `false`
/// an [`Action`] performing the same operations.
pub fn new_and_prepare( pub fn new_and_prepare(
mut conn: Connection, mut conn: Connection,
migrations: &[Migration], migrations: &[Migration],