Skip to content

Commit

Permalink
[core] add missing doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ascjones committed Jul 30, 2019
1 parent f42f7a6 commit 219c851
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/env/test_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ impl TestEnvData {
.map(|event_data| event_data.data_as_bytes())
}

/// Returns an iterator over all dispatched calls
pub fn dispatched_calls(&self) -> impl DoubleEndedIterator<Item = &[u8]> {
self.dispatched_calls.iter().map(Vec::as_slice)
}
Expand Down

0 comments on commit 219c851

Please sign in to comment.