From 57b3cb69550f0f218027bde52a544c7d17d508ca Mon Sep 17 00:00:00 2001 From: Malo <57839069+MDLC01@users.noreply.github.com> Date: Mon, 31 Mar 2025 17:39:20 +0200 Subject: [PATCH] Other doc improvement --- crates/typst-library/src/foundations/array.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typst-library/src/foundations/array.rs b/crates/typst-library/src/foundations/array.rs index 6853ffaff..a6996f69f 100644 --- a/crates/typst-library/src/foundations/array.rs +++ b/crates/typst-library/src/foundations/array.rs @@ -828,8 +828,8 @@ impl Array { /// function should return `{true}`. /// /// If this function does not order the elements properly (e.g., by - /// returning `{false}` for both `{(x, y)}` and `{(y, x)}`), the - /// resulting array will be in unspecified order. + /// returning `{false}` for both `{(x, y)}` and `{(y, x)}`, or for + /// `{(x, x)}`), the resulting array will be in unspecified order. /// /// When used together with `key`, `by` will be passed the keys instead /// of the elements.