commit b4296b49b56c74306f2dc79caa1c93848fcd4195 parent 478509cc692c49fdd391d6c64a98f7d0289abf67 Author: n0tr1v <n0tr1v@protonmail.com> Date: Wed, 13 Dec 2023 12:24:17 -0500 add is_guest fn Diffstat:
| M | src/main.rs | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main.rs b/src/main.rs @@ -2248,6 +2248,10 @@ impl Users { out.extend(&self.guests); out } + + // fn is_guest(&self, name: &str) -> bool { + // self.guests.iter().find(|(_, username)| username == name).is_some() + // } } fn extract_users(doc: &Document) -> Users {