[meta] Make more things pub(crate) instead of pub;

This could help the compiler find unused fields/methods. It didn't find any
during this migration.
This commit is contained in:
Benjamin Bouvier
2019-09-17 10:57:28 +02:00
parent c2587c9d61
commit f0244516c5
16 changed files with 38 additions and 38 deletions

View File

@@ -211,7 +211,7 @@ fn gen_isa(formats: &FormatRegistry, isa_name: &str, recipes: &Recipes, fmt: &mu
fmt.line("}");
}
pub fn generate(
pub(crate) fn generate(
formats: &FormatRegistry,
isa_name: &str,
recipes: &Recipes,