From e7f04240fbc30e4b268435be0074d5de32809ffe Mon Sep 17 00:00:00 2001 From: Quentin Le Sceller Date: Wed, 10 Jun 2020 12:41:44 -0400 Subject: [PATCH] Fix compiler warnig (#3345) --- keychain/src/mnemonic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keychain/src/mnemonic.rs b/keychain/src/mnemonic.rs index e1e2c852..e216236b 100644 --- a/keychain/src/mnemonic.rs +++ b/keychain/src/mnemonic.rs @@ -25,7 +25,7 @@ use std::fmt; lazy_static! { /// List of bip39 words - pub static ref WORDS: Vec = { include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect() }; + pub static ref WORDS: Vec = include_str!("wordlists/en.txt").split_whitespace().map(|s| s.into()).collect(); } /// An error that might occur during mnemonic decoding