From 76306d7b02abc0db0e767dc694d42aada3685862 Mon Sep 17 00:00:00 2001 From: Zhengchao An Date: Thu, 9 Jul 2026 12:07:26 +0800 Subject: [PATCH] chore: rename unparseable to unparsable for the typos gate (#4602) --- rustfs/src/app/bucket_usecase.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustfs/src/app/bucket_usecase.rs b/rustfs/src/app/bucket_usecase.rs index 8dfa5ac25..045fdda0a 100644 --- a/rustfs/src/app/bucket_usecase.rs +++ b/rustfs/src/app/bucket_usecase.rs @@ -326,7 +326,7 @@ fn is_valid_xml_name(name: &str) -> bool { /// /// XML 1.0 permits tab/newline/carriage-return but forbids the other C0 control /// characters. The serializer escapes `< > & ' "` but does not strip these, so a -/// metadata value carrying e.g. a `\u{1}` byte would still emit an unparseable +/// metadata value carrying e.g. a `\u{1}` byte would still emit an unparsable /// document. Returns a borrowed slice when nothing needs stripping. fn sanitize_xml_text(value: &str) -> Cow<'_, str> { let is_illegal = |c: char| (c as u32) < 0x20 && c != '\t' && c != '\n' && c != '\r';