Copy better error handling over from rauth.

This commit is contained in:
Paul Makles
2020-12-28 15:04:23 +00:00
parent a91bae2784
commit b33f19a3c2
2 changed files with 68 additions and 1 deletions

View File

@@ -2,8 +2,9 @@ use rand::{distributions::Alphanumeric, Rng};
use std::collections::HashSet;
use std::iter::FromIterator;
pub mod captcha;
pub mod email;
pub mod result;
pub mod captcha;
pub mod variables;
pub fn vec_to_set<T: Clone + Eq + std::hash::Hash>(data: &[T]) -> HashSet<T> {