[meta] Morph a few pub into pub(crate), and remove dead code;

This commit is contained in:
Benjamin Bouvier
2019-09-04 17:50:51 +02:00
parent 8fba449b7b
commit d1d2e790b9
21 changed files with 19 additions and 42 deletions

View File

@@ -1059,7 +1059,7 @@ fn gen_builder(instructions: &AllInstructions, formats: &FormatRegistry, fmt: &m
fmt.line("}");
}
pub fn generate(
pub(crate) fn generate(
shared_defs: &SharedDefinitions,
opcode_filename: &str,
inst_builder_filename: &str,