diff --git a/src/caesar_cipher.rs b/src/caesar_cipher.rs index 3cf3801..4524354 100644 --- a/src/caesar_cipher.rs +++ b/src/caesar_cipher.rs @@ -158,7 +158,8 @@ pub fn encrypt_safe(text: &str, shift: i16) -> Result { /// Decrypts text using Caesar cipher with error handling /// /// This function validates input values and returns an error for invalid inputs. -/// Validates shift range before negation to prevent integer overflow. +/// Internally uses `decrypt` after validation, so fixes in `decrypt` +/// are automatically reflected in this safe API. /// /// # Arguments ///