summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst-library/src/foundations/str.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/typst-library/src/foundations/str.rs b/crates/typst-library/src/foundations/str.rs
index 8ac99ac6..4025d1ab 100644
--- a/crates/typst-library/src/foundations/str.rs
+++ b/crates/typst-library/src/foundations/str.rs
@@ -577,9 +577,10 @@ impl Str {
/// of the resulting parts.
///
/// When the empty string is used as a separator, it separates every
- /// character in the string, along with the beginning and end of the
- /// string. In practice, this means that the resulting list of parts
- /// will contain the empty string at the start and end of the list.
+ /// character (i.e., Unicode code point) in the string, along with the
+ /// beginning and end of the string. In practice, this means that the
+ /// resulting list of parts will contain the empty string at the start
+ /// and end of the list.
#[func]
pub fn split(
&self,