diff --git a/crates/bdk/src/wallet/mod.rs b/crates/bdk/src/wallet/mod.rs index 873af72b2..fe2978875 100644 --- a/crates/bdk/src/wallet/mod.rs +++ b/crates/bdk/src/wallet/mod.rs @@ -348,7 +348,7 @@ where #[cfg(feature = "std")] impl std::error::Error for LoadError where L: core::fmt::Display + core::fmt::Debug {} -/// Error type for when we try load a [`Wallet`] from persistence and creating it if non-existant. +/// Error type for when we try load a [`Wallet`] from persistence and creating it if non-existent. /// /// Methods [`new_or_load`] and [`new_or_load_with_genesis_hash`] may return this error. /// diff --git a/crates/bdk/tests/wallet.rs b/crates/bdk/tests/wallet.rs index 6efb0d791..2ae13d8a2 100644 --- a/crates/bdk/tests/wallet.rs +++ b/crates/bdk/tests/wallet.rs @@ -99,7 +99,7 @@ fn new_or_load() { let temp_dir = tempfile::tempdir().expect("must create tempdir"); let file_path = temp_dir.path().join("store.db"); - // init wallet when non-existant + // init wallet when non-existent let wallet_keychains = { let db = bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path) .expect("must create db"); diff --git a/crates/file_store/src/store.rs b/crates/file_store/src/store.rs index bf88b8d34..ebab2fd00 100644 --- a/crates/file_store/src/store.rs +++ b/crates/file_store/src/store.rs @@ -105,7 +105,7 @@ where }) } - /// Attempt to open existing [`Store`] file; create it if the file is non-existant. + /// Attempt to open existing [`Store`] file; create it if the file is non-existent. /// /// Internally, this calls either [`open`] or [`create_new`]. ///