fix: typos

Needed for the typos nix check in #1320.
This commit is contained in:
Jose Storopoli 2024-07-30 13:35:23 -03:00
parent 82141a8201
commit a8efeaa0fb
No known key found for this signature in database
GPG Key ID: BCD6BC0FC1D110A5
3 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ impl<T> Persisted<T> {
Ok(T::load(db, params)?.map(|inner| Self { inner }))
}
/// Contruct a persisted `T` from an async `Db`.
/// Construct a persisted `T` from an async `Db`.
pub async fn load_async<Db>(
db: &mut Db,
params: T::LoadParams,

View File

@ -150,7 +150,7 @@ impl LoadParams {
}
/// Checks that `descriptor` of `keychain` matches this, and extracts private keys (if
/// avaliable).
/// available).
pub fn descriptors<D>(mut self, descriptor: D, change_descriptor: D) -> Self
where
D: IntoWalletDescriptor + 'static,

View File

@ -154,7 +154,7 @@ impl<E: fmt::Debug + fmt::Display> std::error::Error for LoadWithPersistError<E>
pub enum CreateWithPersistError<E> {
/// Error from persistence.
Persist(E),
/// Occurs when the loaded changeset cannot contruct [`Wallet`].
/// Occurs when the loaded changeset cannot construct [`Wallet`].
Descriptor(DescriptorError),
}