Skip to content

Commit 29a2cc3

Browse files
committed
Apply Rust formatting standards
- Reformat long format statement to multi-line style - Follows cargo fmt conventions for code consistency
1 parent 7491cbc commit 29a2cc3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/rust/src/backend/ciphers.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,10 @@ impl PyAEADDecryptionContext {
508508
return Err(CryptographyError::from(
509509
pyo3::exceptions::PyValueError::new_err(
510510
// Defensive error handling - rarely triggered in normal usage
511-
format!("Authentication tag cannot be more than {} bytes.", GCM_STANDARD_TAG_SIZE),
511+
format!(
512+
"Authentication tag cannot be more than {} bytes.",
513+
GCM_STANDARD_TAG_SIZE
514+
),
512515
),
513516
));
514517
}

0 commit comments

Comments
 (0)