File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,16 @@ impl RawArray {
213213 self . doc . is_empty ( )
214214 }
215215
216- /// Returns an iterator over the `RawElement`s in the array.
216+ /// Gets an iterator over the elements in the [`RawArray`],
217+ /// which yields `Result<RawElement<'_>>` values. These hold a
218+ /// reference to the underlying array but do not explicitly
219+ /// resolve the values.
220+ ///
221+ /// This iterator, which underpins the implementation of the
222+ /// default iterator, produces `RawElement` objects that hold a
223+ /// view onto the array but do not parse out or construct
224+ /// values until the `.value()` or `.try_into()` methods are
225+ /// called.
217226 pub fn iter_elements ( & self ) -> RawIter {
218227 RawIter :: new ( & self . doc )
219228 }
You can’t perform that action at this time.
0 commit comments