Skip to content

Commit 9720891

Browse files
committed
histogram/grid.rs: Fixed typo
`Out of bound` -> `Out of bounds` `Out-of-bound` -> `Out-of-bounds`
1 parent 67b5f23 commit 9720891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/histogram/grid.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ impl<A: Ord + Clone> Grid<A> {
228228
///
229229
/// # Panics
230230
///
231-
/// Panics if at least one in the index, `(i_0, ..., i_{n-1})`, is out of bound on the
231+
/// Panics if at least one in the index, `(i_0, ..., i_{n-1})`, is out of bounds on the
232232
/// corresponding coordinate axis, i.e. if there exists `j` s.t.
233233
/// `i_j >= self.projections[j].len()`.
234234
///
@@ -253,7 +253,7 @@ impl<A: Ord + Clone> Grid<A> {
253253
/// );
254254
/// ```
255255
///
256-
/// A panic upon out-of-bound:
256+
/// A panic upon out-of-bounds:
257257
///
258258
/// ```should_panic
259259
/// # use ndarray::array;

0 commit comments

Comments
 (0)