[wasm] Make the WasmTypeMap constructor public; (#1125)
This commit is contained in:
committed by
Nick Fitzgerald
parent
9c159ac17c
commit
5e87996275
@@ -115,8 +115,9 @@ pub struct WasmTypesMap {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl WasmTypesMap {
|
impl WasmTypesMap {
|
||||||
pub(crate) fn new() -> Self {
|
/// Creates a new type map.
|
||||||
WasmTypesMap {
|
pub fn new() -> Self {
|
||||||
|
Self {
|
||||||
inner: PrimaryMap::new(),
|
inner: PrimaryMap::new(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user