From ce9da418715fe1d089178d9aa7c4578c04411db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= Date: Sun, 14 Jan 2024 18:15:58 +0100 Subject: [PATCH] Add note about decoding to into_combining_chars --- common/src/zalgo_string/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/src/zalgo_string/mod.rs b/common/src/zalgo_string/mod.rs index 20610aa..c8024d6 100644 --- a/common/src/zalgo_string/mod.rs +++ b/common/src/zalgo_string/mod.rs @@ -464,6 +464,9 @@ impl ZalgoString { /// of the string down one index. /// /// It is the same as calling [`ZalgoString::into_string()`] followed by [`String::remove(0)`](String::remove). + /// + /// Just like [`as_combining_chars`](ZalgoString::as_combining_chars) the result of this method can not + /// be decoded by [`zalgo_decode`]. /// /// # Example ///