Merge rust-bitcoin/rust-bitcoin#4328: fix typo in `array.rs` documentation

1654d2e899 Update array.rs (FT)

Pull request description:

  This PR corrects a typo in the documentation comment for the array splitting method in `internals/src/array.rs`. Changed "overlaping" to the correct spelling "overlapping".

ACKs for top commit:
  apoelstra:
    ACK 1654d2e89934059afb3c4a61b5064672d2f3a80a; successfully ran local tests

Tree-SHA512: b59257dbdd1764b4c99d97b158bedb8a1b87e98eb58b7400d8bc54186960ea07eafadc8b9a4b2332156d254e22039cecc0a926e4c5bf8ec404036d5e309dc224
This commit is contained in:
merge-script 2025-04-11 19:11:35 +00:00
commit da6aa37b4a
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ pub trait ArrayExt {
/// the places where useless checks are made.
fn first(&self) -> &Self::Item { self.get_static::<0>() }
/// Splits the array into two, non-overlaping smaller arrays covering the entire range.
/// Splits the array into two, non-overlapping smaller arrays covering the entire range.
///
/// This is almost equivalent to just calling [`sub_array`](Self::sub_array) twice, except it also
/// checks that the arrays don't overlap and that they cover the full range. This is very useful