fix typos and release checklist

This commit is contained in:
ripytide
2024-04-14 17:21:05 +01:00
parent b473f8e432
commit 636a7a02ec
8 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ impl Backend for Rust {
let json: Value =
serde_json::from_str(&content).context("parsing JSON from crates file")?;
extract_packages(&json).context("extracing packages from crates file")
extract_packages(&json).context("extracting packages from crates file")
}
fn get_explicitly_installed_packages(&self) -> Result<HashSet<Package>> {
+1 -1
View File
@@ -114,7 +114,7 @@ pub trait Backend: Debug {
///
/// # Panics
///
/// This method shall panic when the backend does not support depedent packages.
/// This method shall panic when the backend does not support dependent packages.
fn make_dependency(&self, packages: &[Package]) -> Result<()> {
let mut cmd = Command::new(self.get_binary());
cmd.args(self.get_switches_make_dependency());
+1 -1
View File
@@ -57,7 +57,7 @@ impl Config {
if e.kind() == ErrorKind::NotFound {
bail!(crate::Error::ConfigFileNotFound)
}
bail!("unexpected error occured: {e:?}");
bail!("unexpected error occurred: {e:?}");
}
};
+1 -1
View File
@@ -1,7 +1,7 @@
use std::fmt::{Display, Write};
use std::hash::Hash;
/// A struct to represent a single package, consiting of a `name`, and
/// A struct to represent a single package, consisting of a `name`, and
/// optionally a `repo`.
#[derive(Debug, Eq, PartialOrd, Ord, Clone)]
pub struct Package {
+1 -1
View File
@@ -27,7 +27,7 @@ mod register;
use proc_macro::TokenStream;
/// Derive (1) an iterator over the variants, (2) imports for the individual backends, and (3)
/// instatiation code for each backend.
/// instantiationn code for each backend.
#[proc_macro_derive(Register)]
pub fn register(input: TokenStream) -> TokenStream {
register::register(input)