On Fri, Oct 31, 2025 at 04:25:38PM +0100, Paolo Bonzini wrote: > Date: Fri, 31 Oct 2025 16:25:38 +0100 > From: Paolo Bonzini <[email protected]> > Subject: [PATCH 3/4] rust/util: replace Error::err_or_unit/err_or_else with > Error::with_errp > X-Mailer: git-send-email 2.51.1 > > Introduce a simpler function that hides the creation of the Error**. > > Signed-off-by: Paolo Bonzini <[email protected]> > --- > rust/util/src/error.rs | 52 ++++++++++++++++-------------------------- > 1 file changed, 20 insertions(+), 32 deletions(-)
Reviewed-by: Zhao Liu <[email protected]>
