mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
run cargo fix for rust 2024 changes and rustfmt
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
e97952b7f6
commit
a1e1f40ded
320 files changed
+2212
-2039
No files matched your search
@@ -12,14 +12,14 @@ macro_rules! defer {
|
||||
let _defer_ = _Defer_ { closure: || $body };
|
||||
};
|
||||
|
||||
($body:expr) => {
|
||||
($body:expr_2021) => {
|
||||
$crate::defer! {{ $body }}
|
||||
};
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! scope_restore {
|
||||
($val:ident, $ours:expr) => {
|
||||
($val:ident, $ours:expr_2021) => {
|
||||
let theirs = $crate::utils::exchange($val, $ours);
|
||||
$crate::defer! {{ *$val = theirs; }};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user