]> Untitled Git - bdk/commitdiff
fix(typos): existant -> existent
authorJose Storopoli <jose@storopoli.io>
Sat, 6 Jan 2024 17:13:56 +0000 (14:13 -0300)
committerJose Storopoli <jose@storopoli.io>
Sat, 6 Jan 2024 17:13:56 +0000 (14:13 -0300)
These typos are blocking the Nix typo CI in #1257

crates/bdk/src/wallet/mod.rs
crates/bdk/tests/wallet.rs
crates/file_store/src/store.rs

index 873af72b249ac8a2961e6326bf771ee4be09eaa6..fe2978875ae050666c235aaaaad5a2195e7a7df3 100644 (file)
@@ -348,7 +348,7 @@ where
 #[cfg(feature = "std")]
 impl<L> std::error::Error for LoadError<L> 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.
 ///
index 6efb0d7918cfa67f17e016e1d952033b41b4b6e9..2ae13d8a25589d4204aeffc3adc9dbcd471e7803 100644 (file)
@@ -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");
index bf88b8d3448421db886598b8265e53ec5602edf7..ebab2fd00b5cf6925b8e7ec23fd106dc6d373dd7 100644 (file)
@@ -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`].
     ///