Skip to content

Commit

Permalink
models/default_versions: Fix conn argument type (#9621)
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 authored Oct 10, 2024
1 parent 53d8420 commit 9d0ff70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/default_versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub fn update_default_version(crate_id: i32, conn: &mut impl Conn) -> QueryResul

/// Verifies that the default version for the specified crate is up-to-date.
#[instrument(skip(conn))]
pub fn verify_default_version(crate_id: i32, conn: &mut PgConnection) -> QueryResult<()> {
pub fn verify_default_version(crate_id: i32, conn: &mut impl Conn) -> QueryResult<()> {
let calculated = calculate_default_version(crate_id, conn)?;

let saved = default_versions::table
Expand Down

0 comments on commit 9d0ff70

Please sign in to comment.