From 6a267667911f8af9455cb5291c87bf0d15bd508b Mon Sep 17 00:00:00 2001
From: Christian Heusel <christian@heusel.eu>
Date: Wed, 22 Jan 2025 10:09:59 +0100
Subject: [PATCH] fix: Correct minor spelling issue in config.rs

It seems like the 2.4.0 version of codespell does deem "re-use"
incorrect, therefore change it to the suggested "reuse" spelling.

Fixes https://gitlab.archlinux.org/archlinux/signstar/-/issues/143

Signed-off-by: Christian Heusel <christian@heusel.eu>
---
 nethsm-config/src/config.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nethsm-config/src/config.rs b/nethsm-config/src/config.rs
index f7719fa6..bc408f9b 100644
--- a/nethsm-config/src/config.rs
+++ b/nethsm-config/src/config.rs
@@ -2301,7 +2301,7 @@ impl HermeticParallelConfig {
         // ensure that only one-to-one relationships between users in the Operator role and keys
         // exist (system-wide and per-namespace)
         {
-            // ensure that KeyIds are not re-used system-wide
+            // ensure that KeyIds are not reused system-wide
             let mut set = HashSet::new();
             for key_id in self
                 .users
@@ -2313,7 +2313,7 @@ impl HermeticParallelConfig {
                 }
             }
 
-            // ensure that KeyIds are not re-used per namespace
+            // ensure that KeyIds are not reused per namespace
             for namespace in self
                 .users
                 .iter()
-- 
GitLab