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> {