Skip to content

Commit 8cab5f2

Browse files
committed
models::CrateKeyword: Add missing pub declarations
1 parent d9ba16f commit 8cab5f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models/keyword.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pub struct Keyword {
1919
#[table_name = "crates_keywords"]
2020
#[primary_key(crate_id, keyword_id)]
2121
pub struct CrateKeyword {
22-
crate_id: i32,
23-
keyword_id: i32,
22+
pub crate_id: i32,
23+
pub keyword_id: i32,
2424
}
2525

2626
impl Keyword {

0 commit comments

Comments
 (0)