Skip to content

Commit

Permalink
make type pub to avoid warning in not test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ten0 committed Jul 25, 2024
1 parent c7ab84f commit 74209c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/postgres/all_about_inserts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct UserForm<'a> {
}

#[derive(Queryable, PartialEq, Debug)]
struct User {
pub struct User {
id: i32,
name: String,
hair_color: Option<String>,
Expand Down

0 comments on commit 74209c4

Please sign in to comment.