aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonic/wordlist.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mnemonic/wordlist.rs')
-rw-r--r--src/mnemonic/wordlist.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mnemonic/wordlist.rs b/src/mnemonic/wordlist.rs
index 0e472ee..56dd55e 100644
--- a/src/mnemonic/wordlist.rs
+++ b/src/mnemonic/wordlist.rs
@@ -39,7 +39,7 @@ impl<'a> Wordlist<'a> {
/// # Panics
///
/// This method panics if the index is out of range for the BIP-0039 word
- /// list: it must be less than `WORD_COUNT` or `1024`.
+ /// list: it must be less than `WORD_COUNT` or `2048`.
pub fn word(&'a self, index: usize) -> &'a str {
assert!(index < WORD_COUNT, "invalid word index");
self.0[index]