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 /// as serde doesn't support aliases in flattened structs
#[derive(Clone, Debug, Deserialize)] #[derive(Clone, Debug, Deserialize)]
#[serde(rename_all = "PascalCase")] #[serde(rename_all = "PascalCase")]
@ -116,7 +116,7 @@ pub(crate) struct AURResponse<T> {
pub error: Option<String>, pub error: Option<String>,
} }
/// Represents the type of aur response /// Represents the type of AUR response
#[derive(Clone, Debug, Serialize, Deserialize)] #[derive(Clone, Debug, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")] #[serde(rename_all = "lowercase")]
pub(crate) enum ResponseType { pub(crate) enum ResponseType {

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

Loading…
Cancel
Save