diff --git a/examples/qr_code/src/main.rs b/examples/qr_code/src/main.rs index 27b41fdc..42b58a21 100644 --- a/examples/qr_code/src/main.rs +++ b/examples/qr_code/src/main.rs @@ -37,7 +37,7 @@ impl Sandbox for QRGenerator { None } else { qr_code::State::new(&data).ok() - } + }; self.data = data; }