1/// An alias for `|| format!(...)`.
2///
3/// Primarily meant for use with [`anyhow::Context::with_context`] (thus
4/// "**E**rror con**T**e**X**t"), but also used by some logging helpers.
5macro_rules!etx {
6 ($($t:tt)*) => {
7 || format!($($t)*)
8 }
9}
10pub(crate) use etx;