Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl Metadata {
.ok_or(MetadataError::ModuleNotFound(name))
}

pub(crate) fn module_with_calls<S>(
pub fn module_with_calls<S>(
&self,
name: S,
) -> Result<&ModuleWithCalls, MetadataError>
Expand All @@ -106,11 +106,11 @@ impl Metadata {
.ok_or(MetadataError::ModuleNotFound(name))
}

pub(crate) fn modules_with_events(&self) -> impl Iterator<Item = &ModuleWithEvents> {
pub fn modules_with_events(&self) -> impl Iterator<Item = &ModuleWithEvents> {
self.modules_with_events.values()
}

pub(crate) fn module_with_events(
pub fn module_with_events(
&self,
module_index: u8,
) -> Result<&ModuleWithEvents, MetadataError> {
Expand All @@ -120,7 +120,7 @@ impl Metadata {
.ok_or(MetadataError::ModuleIndexNotFound(module_index))
}

pub(crate) fn module_with_errors(
pub fn module_with_errors(
&self,
module_index: u8,
) -> Result<&ModuleWithErrors, MetadataError> {
Expand Down