Skip to content

Commit

Permalink
Remove unnecessary pub(crate)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuficioAC committed Oct 22, 2024
1 parent b775025 commit 759c9cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/registry_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,14 @@ impl RegistryApi {
pub(crate) async fn get_crates(&self, query: Option<&str>) -> Result<Search> {
#[derive(Deserialize, Debug)]
struct SearchError {
pub(crate) detail: String,
detail: String,
}

#[derive(Deserialize, Debug)]
struct SearchResponse {
pub(crate) crates: Option<Vec<SearchCrate>>,
pub(crate) meta: Option<SearchMeta>,
pub(crate) errors: Option<Vec<SearchError>>,
crates: Option<Vec<SearchCrate>>,
meta: Option<SearchMeta>,
errors: Option<Vec<SearchError>>,
}

let url = {
Expand Down

0 comments on commit 759c9cb

Please sign in to comment.