[wasm] Make the WasmTypeMap constructor public; (#1125)

This commit is contained in:
Benjamin Bouvier
2019-10-10 21:19:53 +02:00
committed by Nick Fitzgerald
parent 9c159ac17c
commit 5e87996275

View File

@@ -115,8 +115,9 @@ pub struct WasmTypesMap {
}
impl WasmTypesMap {
pub(crate) fn new() -> Self {
WasmTypesMap {
/// Creates a new type map.
pub fn new() -> Self {
Self {
inner: PrimaryMap::new(),
}
}