Needed for the typos nix check in #1320.
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,
}
/// 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,
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),
}