diff options
| author | Eskil Queseth <eskilq@kth.se> | 2021-06-19 20:07:17 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2021-06-19 20:07:17 +0200 |
| commit | 9002462953e7cba70d5aafee7ed2a87087252f49 (patch) | |
| tree | 88c51f4f6cda71647ec5ed69cb3700d9bb7f4d5f /mumlib/src/state.rs | |
| parent | b2e9021341794ab52edcf4598c8d454515f758c4 (diff) | |
| parent | 9aca7a8c930b179b6ae539234296f529928a3f3a (diff) | |
| download | mum-9002462953e7cba70d5aafee7ed2a87087252f49.tar.gz | |
Merge branch 'lints'
Diffstat (limited to 'mumlib/src/state.rs')
| -rw-r--r-- | mumlib/src/state.rs | 2 |
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>>, |
