Other doc improvement

This commit is contained in:
Malo 2025-03-31 17:39:20 +02:00
parent 77f2a0547f
commit 57b3cb6955

View File

@ -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.