[meta] Add pub(crate) to more types;

This caught one unused method, allowing us to remove it.
This commit is contained in:
Benjamin Bouvier
2019-10-01 18:19:37 +02:00
parent d3ef80147b
commit 566a143634
5 changed files with 24 additions and 23 deletions

View File

@@ -164,7 +164,7 @@ fn replace_nonrex_constraints(
/// Encodings, in encodings.rs. This is an idiosyncrasy of the x86 meta-language, and could be
/// reconsidered later.
#[derive(Clone)]
pub struct Template<'builder> {
pub(crate) struct Template<'builder> {
/// Mapping of format indexes to format data, used in the build() method.
formats: &'builder FormatRegistry,