doc: fix reference to Vec<u8>

This commit is contained in:
pezcore 2023-03-24 13:26:27 -04:00
parent 36fc016a16
commit 53090ea50d
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ impl Mnemonic {
/// Convert the mnemonic back to the entropy used to generate it.
/// The return value is a byte array and the size.
/// Use [Mnemonic::to_entropy] (needs `std`) to get a [Vec<u8>].
/// Use [Mnemonic::to_entropy] (needs `std`) to get a [`Vec<u8>`].
pub fn to_entropy_array(&self) -> ([u8; 33], usize) {
// We unwrap errors here because this method can only be called on
// values that were already previously validated.