We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc1fb19 commit aab6136Copy full SHA for aab6136
crates/wasm-pkg-common/src/config.rs
@@ -44,7 +44,7 @@ pub enum RegistryMapping {
44
45
impl RegistryMapping {
46
/// returns the inner [`Registry`] object for both mapping variants
47
- fn get_registry(&self) -> &Registry {
+ fn registry(&self) -> &Registry {
48
match self {
49
RegistryMapping::Registry(reg) => reg,
50
RegistryMapping::Custom(custom) => &custom.registry,
0 commit comments