macros: Merge generate_element_with_children!() into generate_element!().

This commit is contained in:
Emmanuel Gil Peyrot 2018-05-28 16:45:13 +02:00
commit 3fb99988d5
13 changed files with 28 additions and 31 deletions

View file

@ -16,7 +16,7 @@ use sha3::{Sha3_256, Sha3_512};
use blake2::Blake2b;
use digest::{Digest, VariableOutput};
generate_element_with_children!(
generate_element!(
ECaps2, "c", ECAPS2,
children: [
hashes: Vec<Hash> = ("hash", HASHES) => Hash