Skip to content

Commit 1cb4206

Browse files
committed
Upload documentation for current main
1 parent 5763ebb commit 1cb4206

28 files changed

Lines changed: 31 additions & 31 deletions

numpy/borrow/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
which together with the dynamic borrow checking performed by this crate ensures that
44
safe Rust code cannot cause undefined behaviour by creating references into NumPy arrays.</p>
55
<p>With these borrows established, <a href="struct.PyReadonlyArray.html#method.get" title="method numpy::borrow::PyReadonlyArray::get">references to individual elements</a> or <a href="struct.PyReadonlyArray.html#method.as_array" title="method numpy::borrow::PyReadonlyArray::as_array">reference-based views of whole array</a>
6-
can be created safely. These are then the starting point for algorithms iteraing over and operating on the elements of the array.</p>
6+
can be created safely. These are then the starting point for algorithms iterating over and operating on the elements of the array.</p>
77
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
88
<p>The first example shows that dynamic borrow checking works to constrain
99
both what safe Rust code can invoke and how it is invoked.</p>

numpy/convert/trait.ToPyArray.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
1818

1919
<span class="macro">assert_eq!</span>(py_array.readonly().as_slice().unwrap(), <span class="kw-2">&amp;</span>[<span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>]);
2020
});</code></pre></div>
21-
<p>Due to copying the elments, this method converts non-contiguous arrays to C-order contiguous arrays.</p>
21+
<p>Due to copying the elements, this method converts non-contiguous arrays to C-order contiguous arrays.</p>
2222

2323
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>numpy::prelude::<span class="kw-2">*</span>;
2424
<span class="kw">use </span>numpy::{PyArray, ToPyArray};

numpy/datetime/trait.Unit.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

numpy/datetime/units/struct.Attoseconds.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

numpy/datetime/units/struct.Days.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

numpy/datetime/units/struct.Femtoseconds.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

numpy/datetime/units/struct.Hours.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

numpy/datetime/units/struct.Microseconds.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

numpy/datetime/units/struct.Milliseconds.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

numpy/datetime/units/struct.Minutes.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)