Make VersionInfo derive Clone (#3839)

This commit is contained in:
Bastian Köcher
2019-10-17 12:54:28 +02:00
committed by GitHub
parent 411b8f96d4
commit 1711483fb6
+1
View File
@@ -79,6 +79,7 @@ const NODE_KEY_SECP256K1_FILE: &str = "secret";
const NODE_KEY_ED25519_FILE: &str = "secret_ed25519";
/// Executable version. Used to pass version information from the root crate.
#[derive(Clone)]
pub struct VersionInfo {
/// Implementaiton name.
pub name: &'static str,