mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-27 22:13:12 -08:00
chore: Use naming scheme without rosenpass- for crates
This commit is contained in:
committed by
Karolin Varner
parent
3ddf736b60
commit
86300ca936
7
util/src/result.rs
Normal file
7
util/src/result.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
/// Try block basically…returns a result and allows the use of the question mark operator inside
|
||||
#[macro_export]
|
||||
macro_rules! attempt {
|
||||
($block:expr) => {
|
||||
(|| -> ::anyhow::Result<_> { $block })()
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user