а
Size: a a a
а
p
EG
let x: Result<T, E> = move || {
do_fallible_operation()?;
do_another()?;
}()В
В
let x: Result<T, E> = move || {
do_fallible_operation()?;
do_another()?;
}()EG
а
let x: Result<T, E> = move || {
do_fallible_operation()?;
do_another()?;
}()а
EG
macro_rules! catch {
($body:tt) => {
move || {
$body
}();
};
}p
macro_rules! catch {
($body:tt) => {
move || {
$body
}();
};
}EG
p
а
macro_rules! catch {
($body:tt) => {
move || {
$body
}();
};
}EG
EG
p
p
В
let y: Result<T, E> = try {
do_fallible_operation(1)?;
do_another(42)?
};В
Ok(_)