Prepare for Spring 2025.

This commit is contained in:
Janggun Lee
2025-02-24 17:31:17 +09:00
parent a8e0aa5e69
commit fad9d02fea
53 changed files with 3442 additions and 1679 deletions

View File

@@ -1,14 +1,3 @@
#[macro_export]
/// Some or executing the given expression.
macro_rules! some_or {
($e:expr_2021, $err:expr_2021) => {{
match $e {
Some(r) => r,
None => $err,
}
}};
}
#[macro_export]
/// Ok or exiting the process.
macro_rules! ok_or_exit {
@@ -24,7 +13,7 @@ macro_rules! ok_or_exit {
}
#[macro_export]
/// Ok or exiting the process.
/// Some or exiting the process.
macro_rules! some_or_exit {
($e:expr_2021, $code:expr_2021) => {{
match $e {