Skip to content

Commit aab6136

Browse files
mkatychevlann
andauthored
Update crates/wasm-pkg-common/src/config.rs
Co-authored-by: Lann <[email protected]>
1 parent dc1fb19 commit aab6136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/wasm-pkg-common/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub enum RegistryMapping {
4444

4545
impl RegistryMapping {
4646
/// returns the inner [`Registry`] object for both mapping variants
47-
fn get_registry(&self) -> &Registry {
47+
fn registry(&self) -> &Registry {
4848
match self {
4949
RegistryMapping::Registry(reg) => reg,
5050
RegistryMapping::Custom(custom) => &custom.registry,

0 commit comments

Comments
 (0)