Skip to content

Commit

Permalink
Merge rust-bitcoin#4134: chore: fix some typos in comments
Browse files Browse the repository at this point in the history
ce19d40 chore: fix some typos in comments (looklose)

Pull request description:

  fix some typos in comments

ACKs for top commit:
  apoelstra:
    ACK ce19d40; successfully ran local tests
  tcharding:
    ACK ce19d40

Tree-SHA512: 4bf5d339e4e73a6f1378881ad62b17f78796e6000f24eea6b3a381d3e03f4fd8b9775710a7eb5a087bfe0d557d1ab1a8291dcc7b86a2c9ded3318774cf2e5b68
  • Loading branch information
apoelstra committed Mar 3, 2025
2 parents f0e1257 + ce19d40 commit 43814eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internals/src/array_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mod safety_boundary {
/// Constructs an empty `ArrayVec`.
pub const fn new() -> Self { Self { len: 0, data: [MaybeUninit::uninit(); CAP] } }

/// Constructs a new `ArrayVec` initialized with the contets of `slice`.
/// Constructs a new `ArrayVec` initialized with the contents of `slice`.
///
/// # Panics
///
Expand Down
2 changes: 1 addition & 1 deletion units/src/amount/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use super::{Amount, SignedAmount};

/// Result of an operation on [`Amount`] or [`SignedAmount`].
///
/// The type parameter `T` should be normally `Amout` or `SignedAmount`.
/// The type parameter `T` should be normally `Amount` or `SignedAmount`.
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[must_use]
pub enum NumOpResult<T> {
Expand Down

0 comments on commit 43814eb

Please sign in to comment.