fix(typos): existant -> existent
These typos are blocking the Nix typo CI in #1257
This commit is contained in:
parent
7eff024213
commit
028caa9f8c
@ -348,7 +348,7 @@ where
|
|||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
impl<L> std::error::Error for LoadError<L> where L: core::fmt::Display + core::fmt::Debug {}
|
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.
|
/// Methods [`new_or_load`] and [`new_or_load_with_genesis_hash`] may return this error.
|
||||||
///
|
///
|
||||||
|
@ -99,7 +99,7 @@ fn new_or_load() {
|
|||||||
let temp_dir = tempfile::tempdir().expect("must create tempdir");
|
let temp_dir = tempfile::tempdir().expect("must create tempdir");
|
||||||
let file_path = temp_dir.path().join("store.db");
|
let file_path = temp_dir.path().join("store.db");
|
||||||
|
|
||||||
// init wallet when non-existant
|
// init wallet when non-existent
|
||||||
let wallet_keychains = {
|
let wallet_keychains = {
|
||||||
let db = bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path)
|
let db = bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path)
|
||||||
.expect("must create db");
|
.expect("must create db");
|
||||||
|
@ -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`].
|
/// Internally, this calls either [`open`] or [`create_new`].
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user