Skip to content

Commit f6418ba

Browse files
committed
Merge #1258: fix(typos): existant -> existent
028caa9 fix(typos): existant -> existent (Jose Storopoli) Pull request description: ### Description These typos are blocking the Nix typo CI in #1257 ### Notes to the reviewers Blocking #1257 ### Changelog notice - fix: typos in documentation - ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### New Features: * [ ] I've added tests for the new feature * [ ] I've added docs for the new feature #### Bugfixes: * [ ] This pull request breaks the existing API * [ ] I've added tests to reproduce the issue which are now passing * [ ] I'm linking the issue being fixed by this PR ACKs for top commit: notmandatory: ACK 028caa9 Tree-SHA512: 0bd91efd0eec55fdc537824435552c968858a5b827179b3f9f3f37785db3fa92d3e6f0c73023de0c506224c81217c402d5afa8a2f768fecaf6a3c8378226d184
2 parents d718299 + 028caa9 commit f6418ba

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
@@ -356,7 +356,7 @@ where
356356
#[cfg(feature = "std")]
357357
impl<L> std::error::Error for LoadError<L> where L: core::fmt::Display + core::fmt::Debug {}
358358

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

crates/bdk/tests/wallet.rs

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

109-
// init wallet when non-existant
109+
// init wallet when non-existent
110110
let wallet_keychains = {
111111
let db = bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path)
112112
.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)