Skip to content

Commit 028caa9

Browse files
committed
fix(typos): existant -> existent
These typos are blocking the Nix typo CI in #1257
1 parent 7eff024 commit 028caa9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/bdk/src/wallet/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ where
348348
#[cfg(feature = "std")]
349349
impl<L> std::error::Error for LoadError<L> where L: core::fmt::Display + core::fmt::Debug {}
350350

351-
/// Error type for when we try load a [`Wallet`] from persistence and creating it if non-existant.
351+
/// Error type for when we try load a [`Wallet`] from persistence and creating it if non-existent.
352352
///
353353
/// Methods [`new_or_load`] and [`new_or_load_with_genesis_hash`] may return this error.
354354
///

crates/bdk/tests/wallet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ fn new_or_load() {
9999
let temp_dir = tempfile::tempdir().expect("must create tempdir");
100100
let file_path = temp_dir.path().join("store.db");
101101

102-
// init wallet when non-existant
102+
// init wallet when non-existent
103103
let wallet_keychains = {
104104
let db = bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path)
105105
.expect("must create db");

crates/file_store/src/store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ where
105105
})
106106
}
107107

108-
/// Attempt to open existing [`Store`] file; create it if the file is non-existant.
108+
/// Attempt to open existing [`Store`] file; create it if the file is non-existent.
109109
///
110110
/// Internally, this calls either [`open`] or [`create_new`].
111111
///

0 commit comments

Comments
 (0)