mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
Document migrate! (and small fixes)
This commit is contained in:
@@ -37,7 +37,7 @@ impl Migrator {
|
||||
}
|
||||
|
||||
/// Creates a new instance from a static slice of migrations.
|
||||
pub async fn from_static(migrations: &'static [Migration]) -> Self {
|
||||
pub fn from_static(migrations: &'static [Migration]) -> Self {
|
||||
Self {
|
||||
migrations: Cow::Borrowed(migrations),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user