fix some spelling mistakes

pull/2/head
Fries 2 years ago
parent 5f6620e014
commit b3e44dabdc

@ -69,7 +69,7 @@ impl From<PackageInfoRaw> for PackageInfo {
}
}
/// Full packge info with all fields as a workaround
/// Full package info with all fields as a workaround
/// as serde doesn't support aliases in flattened structs
#[derive(Clone, Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
@ -116,7 +116,7 @@ pub(crate) struct AURResponse<T> {
pub error: Option<String>,
}
/// Represents the type of aur response
/// Represents the type of AUR response
#[derive(Clone, Debug, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")]
pub(crate) enum ResponseType {

@ -30,13 +30,13 @@ pub enum SearchField {
NameDesc,
/// Searches by package maintainer
Maintainer,
/// Searches for packages that depend on the given keywods
/// Searches for packages that depend on the given keywords
Depends,
/// Searches for packages that require the given keywords to be build
MakeDepends,
/// Searches for packages that optionally depend on the given keywods
/// Searches for packages that optionally depend on the given keywords
OptDepends,
/// Searches for packages that require the given keywods to be present
/// Searches for packages that require the given keywords to be present
CheckDepends,
}

Loading…
Cancel
Save