doc: fix reference to Vec<u8>
This commit is contained in:
parent
36fc016a16
commit
53090ea50d
|
@ -532,7 +532,7 @@ impl Mnemonic {
|
||||||
|
|
||||||
/// Convert the mnemonic back to the entropy used to generate it.
|
/// Convert the mnemonic back to the entropy used to generate it.
|
||||||
/// The return value is a byte array and the size.
|
/// 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) {
|
pub fn to_entropy_array(&self) -> ([u8; 33], usize) {
|
||||||
// We unwrap errors here because this method can only be called on
|
// We unwrap errors here because this method can only be called on
|
||||||
// values that were already previously validated.
|
// values that were already previously validated.
|
||||||
|
|
Loading…
Reference in New Issue