aboutsummaryrefslogtreecommitdiffstats
path: root/mumlib/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mumlib/src/state.rs')
-rw-r--r--mumlib/src/state.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mumlib/src/state.rs b/mumlib/src/state.rs
index 72c01a6..5008465 100644
--- a/mumlib/src/state.rs
+++ b/mumlib/src/state.rs
@@ -82,6 +82,7 @@ impl Channel {
}
/// An iterator over channels. Created by [Channel::iter].
+#[derive(Debug)]
pub struct Iter<'a> {
me: Option<&'a Channel>,
channel: Option<usize>,
@@ -113,6 +114,7 @@ impl<'a> Iterator for Iter<'a> {
}
/// An iterator over users. Created by [Channel::users_iter].
+#[derive(Debug)]
pub struct UsersIter<'a> {
channel: Option<usize>,
channels: Vec<UsersIter<'a>>,