Skip to content

Commit

Permalink
Make Migrations::new const
Browse files Browse the repository at this point in the history
  • Loading branch information
MonterraByte committed Nov 10, 2024
1 parent ee4748b commit 988602a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rusqlite_migration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ impl<'m> Migrations<'m> {
/// ]);
/// ```
#[must_use]
pub fn new(ms: Vec<M<'m>>) -> Self {
pub const fn new(ms: Vec<M<'m>>) -> Self {
Self { ms }
}

Expand Down

0 comments on commit 988602a

Please sign in to comment.