lanzatool: spell specialised consistently

This commit is contained in:
nikstur 2023-01-06 23:20:31 +01:00
parent b79dea1fca
commit 7f235ce004
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ fn nixos_path(path: impl AsRef<Path>, name: &str) -> Result<PathBuf> {
}
fn generation_path(generation: &Generation) -> PathBuf {
if let Some(specialisation_name) = generation.is_specialized() {
if let Some(specialisation_name) = generation.is_specialised() {
PathBuf::from(format!(
"nixos-generation-{}-specialisation-{}.efi",
generation, specialisation_name

View File

@ -64,7 +64,7 @@ impl Generation {
})
}
pub fn is_specialized(&self) -> Option<SpecialisationName> {
pub fn is_specialised(&self) -> Option<SpecialisationName> {
self.specialisation_name.clone()
}