chore(rs): add aliases

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2023-07-29 19:47:52 +02:00
parent c376b11d32
commit b48cdc97f9
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -1,6 +1,7 @@
#![allow(unused_imports)]
// region use
use self::aliases::*;
use self::input::*;
use self::math::*;
use self::output::*;
@ -297,3 +298,13 @@ mod input {
}
}
}
#[allow(dead_code)]
mod aliases {
use std::collections::{BTreeMap, BTreeSet, VecDeque};
pub type V<T> = Vec<T>;
pub type M<K, V> = BTreeMap<K, V>;
pub type S<T> = BTreeSet<T>;
pub type Q<T> = VecDeque<T>;
}