From 26089f89635f04c5d32b2a0ba1267505ab21db94 Mon Sep 17 00:00:00 2001 From: Arthur Carcano Date: Sat, 10 Oct 2020 21:47:18 +0200 Subject: [PATCH] Revert "Reformulated array_init doc" This reverts commit 1735c0ad59ce9d248065e6190b6a95863f09b4ab. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index a43e233..275279a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -66,8 +66,8 @@ pub unsafe trait IsArray { #[inline] /// Initialize an array given an initializer expression. /// -/// The initializer is given the index (between 0 and `Array:len() - 1` included) of the element. It is allowed -/// to mutate external state; we will always initialize from lower to higher indices. +/// The initializer is given the index of the element. It is allowed +/// to mutate external state; we will always initialize the elements in order. /// /// # Examples ///