From 3c12ff5d9a753962ece04238b4b2c795c28c6621 Mon Sep 17 00:00:00 2001 From: Maxim Savenkov Date: Fri, 10 Nov 2023 14:20:10 +0100 Subject: [PATCH] Fix 2 --- examples/constructor/src/call.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/constructor/src/call.rs b/examples/constructor/src/call.rs index 5d0d119c57e..2a82d24c5ca 100644 --- a/examples/constructor/src/call.rs +++ b/examples/constructor/src/call.rs @@ -259,7 +259,7 @@ mod wasm { previous = Some(call.process(previous)); } - previous.and_then(|res| res.1).flatten() + previous.and_then(|res| res.1) } fn value(self) -> Option> {