Skip to content

Commit a84a238

Browse files
committed
Fix grammar 'any' -> 'an'
Do minor grammar improvement.
1 parent 5649628 commit a84a238

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/descriptor/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,10 @@ impl<Pk: MiniscriptKey> Descriptor<Pk> {
320320
impl<Pk: MiniscriptKey + ToPublicKey> Descriptor<Pk> {
321321
/// Computes the Bitcoin address of the descriptor, if one exists
322322
///
323-
/// Some descriptors like pk() don't have any address.
323+
/// Some descriptors like pk() don't have an address.
324324
///
325325
/// # Errors
326-
/// For raw/bare descriptors that don't have any address.
326+
/// For raw/bare descriptors that don't have an address.
327327
pub fn address(&self, network: Network) -> Result<Address, Error> {
328328
match *self {
329329
Descriptor::Bare(_) => Err(Error::BareDescriptorAddr),

0 commit comments

Comments
 (0)