Skip to content

Commit b4a9c5a

Browse files
Koenraad VerheydenJoshua Nelson
Koenraad Verheyden
authored and
Joshua Nelson
committed
fields of crate_details::Release don't have to be public
1 parent 0cdba85 commit b4a9c5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/web/crate_details.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ impl ToJson for CrateDetails {
9494

9595
#[derive(Debug, Eq, PartialEq)]
9696
struct Release {
97-
pub version: String,
98-
pub build_status: bool,
99-
pub yanked: bool,
97+
version: String,
98+
build_status: bool,
99+
yanked: bool,
100100
}
101101

102102

0 commit comments

Comments
 (0)