Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Jun 1, 2024
1 parent 26c9044 commit 57b00d4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/kitsune-language/src/regconfig.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use crate::supported_languages;
use diesel::{deserialize, pg::Pg, row::NamedRow, QueryableByName};
use diesel::{deserialize, pg::Pg, row::NamedRow, sql_types, QueryableByName};
use diesel_async::{AsyncConnection, RunQueryDsl};
use std::collections::HashSet;
use std::fmt::Write;
use std::{collections::HashSet, fmt::Write};

#[derive(Debug)]
struct PgCatalogResult {
Expand All @@ -12,7 +11,7 @@ struct PgCatalogResult {
impl QueryableByName<Pg> for PgCatalogResult {
fn build<'a>(row: &impl NamedRow<'a, Pg>) -> deserialize::Result<Self> {
Ok(Self {
cfgname: NamedRow::get(row, "cfgname")?,
cfgname: NamedRow::get::<sql_types::Text, _>(row, "cfgname")?,
})
}
}
Expand Down

0 comments on commit 57b00d4

Please sign in to comment.